{"action":"created","issue":{"url":"https://api.github.com/repos/LRNWebComponents/a11y-media-player/issues/42","repository_url":"https://api.github.com/repos/LRNWebComponents/a11y-media-player","labels_url":"https://api.github.com/repos/LRNWebComponents/a11y-media-player/issues/42/labels{/name}","comments_url":"https://api.github.com/repos/LRNWebComponents/a11y-media-player/issues/42/comments","events_url":"https://api.github.com/repos/LRNWebComponents/a11y-media-player/issues/42/events","html_url":"https://github.com/LRNWebComponents/a11y-media-player/issues/42","id":358742478,"node_id":"MDU6SXNzdWUzNTg3NDI0Nzg=","number":42,"title":"youtube loading when dynamically loaded fails","user":{"login":"btopro","id":329735,"node_id":"MDQ6VXNlcjMyOTczNQ==","avatar_url":"https://avatars1.githubusercontent.com/u/329735?v=4","gravatar_id":"","url":"https://api.github.com/users/btopro","html_url":"https://github.com/btopro","followers_url":"https://api.github.com/users/btopro/followers","following_url":"https://api.github.com/users/btopro/following{/other_user}","gists_url":"https://api.github.com/users/btopro/gists{/gist_id}","starred_url":"https://api.github.com/users/btopro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/btopro/subscriptions","organizations_url":"https://api.github.com/users/btopro/orgs","repos_url":"https://api.github.com/users/btopro/repos","events_url":"https://api.github.com/users/btopro/events{/privacy}","received_events_url":"https://api.github.com/users/btopro/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-10T18:34:18Z","updated_at":"2018-09-13T16:59:08Z","closed_at":"2018-09-13T16:59:08Z","author_association":"CONTRIBUTOR","body":"If loading a youtube video in dynamically this happens (fails big)\r\n```\r\nUncaught TypeError: iframe.pauseVideo is not a function\r\n    at Y.iframe.pause (a11y-media-youtube-utility.html:4)\r\n    at HTMLElement.pause (a11y-media-player.html:11)\r\n    at HTMLElement.checkConcurrentPlayers (a11y-media-utility.html:1)\r\n    at HTMLElement.setStickyPlayer (a11y-media-utility.html:1)\r\n    at HTMLBodyElement.<anonymous> (a11y-media-utility.html:1)\r\n    at HTMLElement.fire (polymer.html:1)\r\n    at HTMLElement.play (a11y-media-player.html:11)\r\n    at HTMLElement._onControlsChanged (a11y-media-player.html:11)\r\n    at HTMLElement.handler (polymer.html:1)\r\n    at HTMLElement.fire (polymer.html:1)\r\n```"},"comment":{"url":"https://api.github.com/repos/LRNWebComponents/a11y-media-player/issues/comments/421078167","html_url":"https://github.com/LRNWebComponents/a11y-media-player/issues/42#issuecomment-421078167","issue_url":"https://api.github.com/repos/LRNWebComponents/a11y-media-player/issues/42","id":421078167,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMTA3ODE2Nw==","user":{"login":"nikkimk","id":5090492,"node_id":"MDQ6VXNlcjUwOTA0OTI=","avatar_url":"https://avatars1.githubusercontent.com/u/5090492?v=4","gravatar_id":"","url":"https://api.github.com/users/nikkimk","html_url":"https://github.com/nikkimk","followers_url":"https://api.github.com/users/nikkimk/followers","following_url":"https://api.github.com/users/nikkimk/following{/other_user}","gists_url":"https://api.github.com/users/nikkimk/gists{/gist_id}","starred_url":"https://api.github.com/users/nikkimk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nikkimk/subscriptions","organizations_url":"https://api.github.com/users/nikkimk/orgs","repos_url":"https://api.github.com/users/nikkimk/repos","events_url":"https://api.github.com/users/nikkimk/events{/privacy}","received_events_url":"https://api.github.com/users/nikkimk/received_events","type":"User","site_admin":false},"created_at":"2018-09-13T16:59:08Z","updated_at":"2018-09-13T16:59:08Z","author_association":"COLLABORATOR","body":"This was due to YouTube iframe being added before player itself was attached. Made sure player was ready and attached before adding iframe. Fix is in 1.0.7"}}
{"actor":{"display_login":"nikkimk"}}