aboutsummaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
Diffstat (limited to 'js')
-rw-r--r--js/reveal.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/js/reveal.js b/js/reveal.js
index 3c2b1c8..e5576ed 100644
--- a/js/reveal.js
+++ b/js/reveal.js
@@ -2471,7 +2471,10 @@
// Start video playback
var currentVideo = currentBackground.querySelector( 'video' );
- if( currentVideo ) currentVideo.play();
+ if( currentVideo ) {
+ currentVideo.currentTime = 0;
+ currentVideo.play();
+ }
// Don't transition between identical backgrounds. This
// prevents unwanted flicker.