{"action":"created","issue":{"url":"https://api.github.com/repos/bfred-it/iphone-inline-video/issues/45","repository_url":"https://api.github.com/repos/bfred-it/iphone-inline-video","labels_url":"https://api.github.com/repos/bfred-it/iphone-inline-video/issues/45/labels{/name}","comments_url":"https://api.github.com/repos/bfred-it/iphone-inline-video/issues/45/comments","events_url":"https://api.github.com/repos/bfred-it/iphone-inline-video/issues/45/events","html_url":"https://github.com/bfred-it/iphone-inline-video/pull/45","id":155991387,"number":45,"title":"Reset source on currentSrc change","user":{"login":"timdp","id":201034,"avatar_url":"https://avatars.githubusercontent.com/u/201034?v=3","gravatar_id":"","url":"https://api.github.com/users/timdp","html_url":"https://github.com/timdp","followers_url":"https://api.github.com/users/timdp/followers","following_url":"https://api.github.com/users/timdp/following{/other_user}","gists_url":"https://api.github.com/users/timdp/gists{/gist_id}","starred_url":"https://api.github.com/users/timdp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timdp/subscriptions","organizations_url":"https://api.github.com/users/timdp/orgs","repos_url":"https://api.github.com/users/timdp/repos","events_url":"https://api.github.com/users/timdp/events{/privacy}","received_events_url":"https://api.github.com/users/timdp/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2016-05-20T15:37:39Z","updated_at":"2016-05-22T12:12:01Z","closed_at":"2016-05-22T07:24:12Z","pull_request":{"url":"https://api.github.com/repos/bfred-it/iphone-inline-video/pulls/45","html_url":"https://github.com/bfred-it/iphone-inline-video/pull/45","diff_url":"https://github.com/bfred-it/iphone-inline-video/pull/45.diff","patch_url":"https://github.com/bfred-it/iphone-inline-video/pull/45.patch"},"body":"This is somewhat related to the `currentSrc`-related PR I made earlier. If I call `play()` on a video element without a source, then change its `src`, and then call `play()` again, the source won't be synced with the audio element."},"comment":{"url":"https://api.github.com/repos/bfred-it/iphone-inline-video/issues/comments/220829101","html_url":"https://github.com/bfred-it/iphone-inline-video/pull/45#issuecomment-220829101","issue_url":"https://api.github.com/repos/bfred-it/iphone-inline-video/issues/45","id":220829101,"user":{"login":"timdp","id":201034,"avatar_url":"https://avatars.githubusercontent.com/u/201034?v=3","gravatar_id":"","url":"https://api.github.com/users/timdp","html_url":"https://github.com/timdp","followers_url":"https://api.github.com/users/timdp/followers","following_url":"https://api.github.com/users/timdp/following{/other_user}","gists_url":"https://api.github.com/users/timdp/gists{/gist_id}","starred_url":"https://api.github.com/users/timdp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timdp/subscriptions","organizations_url":"https://api.github.com/users/timdp/orgs","repos_url":"https://api.github.com/users/timdp/repos","events_url":"https://api.github.com/users/timdp/events{/privacy}","received_events_url":"https://api.github.com/users/timdp/received_events","type":"User","site_admin":false},"created_at":"2016-05-22T12:12:00Z","updated_at":"2016-05-22T12:12:00Z","body":"Okay, I tested in Chrome with my scenario, passing `true, false` to force loading, so these results won't be fully accurate. However:\r\n\r\n- With `master`, the video didn't play.\r\n- With `src-change-support`, the audio started playing but the video wouldn't stop flickering.\r\n- With my own `handle-source-change` branch, it worked properly.\r\n\r\nI'll try to explain what I'm doing without giving away too many of our company secrets. :-) We have a video element without a source, which we arm as soon as possible by calling `play()` upon user interaction. Then, a while later, when we've decided which source we want to play, we set the `src` attribute and call `play()` again. That's basically it."}}
{"actor":{"display_login":"timdp"}}