diff --git a/js/reveal.js b/js/reveal.js index ae5810c..ce5c2b6 100644 --- a/js/reveal.js +++ b/js/reveal.js @@ -150,7 +150,6 @@ // Flags if video background is loaded loadeddataVideo = false, - // The horizontal and vertical index of the currently active slide indexh, indexv, @@ -2481,8 +2480,9 @@ currentVideo.currentTime = 0; currentVideo.play(); loadeddataVideo = true; - this.removeEventListener("loadeddata",function(){return false}); + this.removeEventListener("loadeddata",function(){return false}); }); + if(loadeddataVideo === true){ currentVideo.currentTime = 0; currentVideo.play();