1
0
mirror of https://github.com/hakimel/reveal.js.git synced 2025-07-31 03:40:28 +02:00

UPDATED - Improvement on spaces and indentation

This commit is contained in:
Alex Batista
2015-09-29 21:07:02 -03:00
parent e258db0994
commit c1cb328e19

View File

@@ -2472,6 +2472,7 @@
// Start video playback
var currentVideo = currentBackground.querySelector( 'video' );
if( currentVideo ) {
if(currentVideo.readyState >1){
currentVideo.currentTime = 0;
currentVideo.play();
@@ -2483,6 +2484,7 @@
currentVideo.removeEventListener("loadeddata",function(){return false});
});
}
}
// Don't transition between identical backgrounds. This