diff options
author | Hakim El Hattab <hakim.elhattab@gmail.com> | 2015-09-02 11:57:37 +0100 |
---|---|---|
committer | Hakim El Hattab <hakim.elhattab@gmail.com> | 2015-09-02 11:57:37 +0100 |
commit | 75d38379b7bc93fba6eed7da17319ed6ffec35d1 (patch) | |
tree | 107d2834f6de36a4d28c68b1cbb8041939082b5a /js | |
parent | de6def8cdcf54746fddd6028c48e0b4f6fceb78a (diff) | |
parent | b7470fa3239bca8858ee215adf59118ed12fa581 (diff) | |
download | perl-software-in-gnu-guix-75d38379b7bc93fba6eed7da17319ed6ffec35d1.tar perl-software-in-gnu-guix-75d38379b7bc93fba6eed7da17319ed6ffec35d1.tar.gz |
Merge pull request #1310 from teawithfruit/patch-1
solves early access error with video element
Diffstat (limited to 'js')
-rw-r--r-- | js/reveal.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/reveal.js b/js/reveal.js index 0a1e70f..913aa28 100644 --- a/js/reveal.js +++ b/js/reveal.js @@ -2619,7 +2619,7 @@ // Start video playback var currentVideo = currentBackground.querySelector( 'video' ); if( currentVideo ) { - currentVideo.currentTime = 0; + if(currentVideo.currentTime > 0) currentVideo.currentTime = 0; currentVideo.play(); } |