Do not add video backgrounds to speaker notes.

This commit is contained in:
Jaan Pullerits 2014-10-24 12:35:49 +00:00
parent 6c8becc51b
commit 82a692c394

View File

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