Commit 40f12acf authored by Hakim El Hattab's avatar Hakim El Hattab
Browse files

always play background video from the start #1049

parent 4cee280e
......@@ -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.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment