{"action":"created","issue":{"url":"https://api.github.com/repos/googleads/videojs-ima/issues/458","repository_url":"https://api.github.com/repos/googleads/videojs-ima","labels_url":"https://api.github.com/repos/googleads/videojs-ima/issues/458/labels{/name}","comments_url":"https://api.github.com/repos/googleads/videojs-ima/issues/458/comments","events_url":"https://api.github.com/repos/googleads/videojs-ima/issues/458/events","html_url":"https://github.com/googleads/videojs-ima/issues/458","id":280891136,"number":458,"title":"iOS not playing preroll after reset","user":{"login":"stoicbuddha","id":18359863,"avatar_url":"https://avatars3.githubusercontent.com/u/18359863?v=4","gravatar_id":"","url":"https://api.github.com/users/stoicbuddha","html_url":"https://github.com/stoicbuddha","followers_url":"https://api.github.com/users/stoicbuddha/followers","following_url":"https://api.github.com/users/stoicbuddha/following{/other_user}","gists_url":"https://api.github.com/users/stoicbuddha/gists{/gist_id}","starred_url":"https://api.github.com/users/stoicbuddha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stoicbuddha/subscriptions","organizations_url":"https://api.github.com/users/stoicbuddha/orgs","repos_url":"https://api.github.com/users/stoicbuddha/repos","events_url":"https://api.github.com/users/stoicbuddha/events{/privacy}","received_events_url":"https://api.github.com/users/stoicbuddha/received_events","type":"User","site_admin":false},"labels":[{"id":109322617,"url":"https://api.github.com/repos/googleads/videojs-ima/labels/support","name":"support","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":{"login":"shawnbuso","id":1238504,"avatar_url":"https://avatars1.githubusercontent.com/u/1238504?v=4","gravatar_id":"","url":"https://api.github.com/users/shawnbuso","html_url":"https://github.com/shawnbuso","followers_url":"https://api.github.com/users/shawnbuso/followers","following_url":"https://api.github.com/users/shawnbuso/following{/other_user}","gists_url":"https://api.github.com/users/shawnbuso/gists{/gist_id}","starred_url":"https://api.github.com/users/shawnbuso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shawnbuso/subscriptions","organizations_url":"https://api.github.com/users/shawnbuso/orgs","repos_url":"https://api.github.com/users/shawnbuso/repos","events_url":"https://api.github.com/users/shawnbuso/events{/privacy}","received_events_url":"https://api.github.com/users/shawnbuso/received_events","type":"User","site_admin":false},"assignees":[{"login":"shawnbuso","id":1238504,"avatar_url":"https://avatars1.githubusercontent.com/u/1238504?v=4","gravatar_id":"","url":"https://api.github.com/users/shawnbuso","html_url":"https://github.com/shawnbuso","followers_url":"https://api.github.com/users/shawnbuso/followers","following_url":"https://api.github.com/users/shawnbuso/following{/other_user}","gists_url":"https://api.github.com/users/shawnbuso/gists{/gist_id}","starred_url":"https://api.github.com/users/shawnbuso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shawnbuso/subscriptions","organizations_url":"https://api.github.com/users/shawnbuso/orgs","repos_url":"https://api.github.com/users/shawnbuso/repos","events_url":"https://api.github.com/users/shawnbuso/events{/privacy}","received_events_url":"https://api.github.com/users/shawnbuso/received_events","type":"User","site_admin":false}],"milestone":null,"comments":12,"created_at":"2017-12-11T04:30:37Z","updated_at":"2018-02-15T22:04:07Z","closed_at":null,"author_association":"NONE","body":"I'm testing our player [here](http://staging.player.dotstudiopro.com/share/58c48e8397f8158a5e1ad4ff?targetelm=.player&companykey=56798e9197f815d36f339ee4&loopplayback=false&autostart=true&muteonstart=false&enablesharing=false&skin=0000ff&debug=true&recommendation=true).  Our current setup for this particular player instantiation is that the player will change to a new video at the end of the current one.\r\n\r\nWhen the first video plays in iOS, I get a preroll.  That works fine.  On the next video, however, no preroll plays.  It tries to request the ads, but never actually does.\r\n\r\nOn Android, however, this works fine, and I get a preroll with each video.  The difference between the two is that Android uses `player.ima.startFromReadyCallback()`, while on iOS, we just play the video, because `player.ima.startFromReadyCallback()` hasn't worked properly before.\r\n\r\nI decided to try `player.ima.startFromReadyCallback()` again tonight as a possible solution to this, as the SDK has been updated many times since I last made the attempt.  However, I get the following error: `Ad error: AdError 400: There was an error playing the video ad. Caused by: Error: AdError 1205: The browser prevented playback initiated without user interaction.`\r\n\r\nThis error will return even with the first preroll.  However, if I set it to just do `player.play()` instead, the first preroll plays fine and doesn't throw that error.  Because of that, I'm utterly baffled as to why that error is thrown in iOS with the same method of starting ads.\r\n\r\nI think it's possible that it's related to [this Groups thread](https://groups.google.com/forum/#!topic/ima-sdk/w15fTbJcwYk)."},"comment":{"url":"https://api.github.com/repos/googleads/videojs-ima/issues/comments/366076779","html_url":"https://github.com/googleads/videojs-ima/issues/458#issuecomment-366076779","issue_url":"https://api.github.com/repos/googleads/videojs-ima/issues/458","id":366076779,"user":{"login":"dannyf620","id":13239445,"avatar_url":"https://avatars0.githubusercontent.com/u/13239445?v=4","gravatar_id":"","url":"https://api.github.com/users/dannyf620","html_url":"https://github.com/dannyf620","followers_url":"https://api.github.com/users/dannyf620/followers","following_url":"https://api.github.com/users/dannyf620/following{/other_user}","gists_url":"https://api.github.com/users/dannyf620/gists{/gist_id}","starred_url":"https://api.github.com/users/dannyf620/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dannyf620/subscriptions","organizations_url":"https://api.github.com/users/dannyf620/orgs","repos_url":"https://api.github.com/users/dannyf620/repos","events_url":"https://api.github.com/users/dannyf620/events{/privacy}","received_events_url":"https://api.github.com/users/dannyf620/received_events","type":"User","site_admin":false},"created_at":"2018-02-15T22:04:07Z","updated_at":"2018-02-15T22:04:07Z","author_association":"NONE","body":"I had the same problem, the update solved the problem and now everything works very well, now it reproduces the advertising without any problem.\r\nbut it does not work with the version of video-js v6.6.3. With version 5.20.4 works perfectly"}}
{"actor":{"display_login":"dannyf620"}}