Merge pull request #1310 from teawithfruit/patch-1

solves early access error with video element
edit
Hakim El Hattab 2015-09-02 11:57:37 +01:00
commit 75d38379b7
1 changed files with 1 additions and 1 deletions

View File

@ -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();
}