Merge pull request #1037 from Suva/dev

Do not add video backgrounds to speaker notes.
This commit is contained in:
Hakim El Hattab 2014-11-05 10:00:43 +01:00
commit a5e4fcb839

View file

@ -2601,7 +2601,7 @@
background.style.backgroundImage = 'url('+ backgroundImage +')'; background.style.backgroundImage = 'url('+ backgroundImage +')';
} }
// Videos // Videos
else if ( backgroundVideo ) { else if ( backgroundVideo && !isSpeakerNotes() ) {
var video = document.createElement( 'video' ); var video = document.createElement( 'video' );
// Support comma separated lists of video sources // Support comma separated lists of video sources