next attempt
Some checks reported errors
continuous-integration/drone/pr Build was killed
continuous-integration/drone/push Build is passing

Signed-off-by: Christian Richter <crichter@owncloud.com>
This commit is contained in:
Christian Richter
2022-07-19 11:55:52 +02:00
parent cb696853f5
commit 4510449225

View File

@@ -90,9 +90,8 @@
var done = false;
function onPlayerStateChange(event) {
if (event.data == 0) {
console.log("playing stopped");
// it seems like there is a race condition happening here
playNext();
console.log("playing stopped");
}
//if (event.data == YT.PlayerState.PLAYING && !done) {
// setTimeout(stopVideo, 6000);