always play background video from the start #1049
This commit is contained in:
parent
4cee280e36
commit
40f12acf2d
|
@ -2471,7 +2471,10 @@
|
||||||
|
|
||||||
// Start video playback
|
// Start video playback
|
||||||
var currentVideo = currentBackground.querySelector( 'video' );
|
var currentVideo = currentBackground.querySelector( 'video' );
|
||||||
if( currentVideo ) currentVideo.play();
|
if( currentVideo ) {
|
||||||
|
currentVideo.currentTime = 0;
|
||||||
|
currentVideo.play();
|
||||||
|
}
|
||||||
|
|
||||||
// Don't transition between identical backgrounds. This
|
// Don't transition between identical backgrounds. This
|
||||||
// prevents unwanted flicker.
|
// prevents unwanted flicker.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user