You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 29, 2018. It is now read-only.
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.
The text was updated successfully, but these errors were encountered:
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.
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 callonFirstPause
(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 toplayer.pauseVideo();
to call onFirstPause.Will make a pull request if that works for a while... and if Google does not fix the issue soon.
The text was updated successfully, but these errors were encountered: