diff --git a/assets/index.html b/assets/index.html index e021726..69cbfdc 100644 --- a/assets/index.html +++ b/assets/index.html @@ -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);