Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with pause event on Youtube HTML player #53

Open
menismu opened this issue Apr 4, 2018 · 0 comments
Open

Issue with pause event on Youtube HTML player #53

menismu opened this issue Apr 4, 2018 · 0 comments

Comments

@menismu
Copy link
Owner

menismu commented Apr 4, 2018

Issue reported: mozilla#458
Reported by: @syl22-00

@syl22-00
Contributor
syl22-00 commented on 23 Jul 2015
It seems that, starting very recently, there is an issue with the HTML Youtube player that does not fire the pause event on Chrome. So after calling player.pauseVideo();, it is waiting indefinitely for the pause event in order to call onFirstPause (addYouTubeEvent( "pause", onFirstPause );).

This is not happening on Firefox, where the pause event is fired and dispatched correctly.

For now, I hacked by changing addYouTubeEvent( "pause", onFirstPause ); into a timeout after the call to player.pauseVideo(); to call onFirstPause.

Will make a pull request if that works for a while... and if Google does not fix the issue soon.

This was referenced on 23 Jul 2015
Closed
YouTube videos in Amara editor and embedder not playable in Google Chrome pculture/unisubs#2296
Merged
Hack for youtube issue on Chrome pculture/unisubs#2298
Open
Workaround for missing pause event in Youtube on Chrome mozilla#460
@syl22-00
Contributor
syl22-00 commented on 27 Jul 2015
Workaround was submitted in pull request mozilla#460

@syl22-00
Contributor
syl22-00 commented on 27 Jul 2015
This can be tested easily for instance with the YouTube demo, which is currently also broken on the website because the compiled popcorn it uses does not include other recent updates for youtube broken API.

@syl22-00
Contributor
syl22-00 commented on 4 Aug 2015
This seems to have been fixed on Youtube's side, the youtube demo now works well again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant