Procházet zdrojové kódy

Do not add video backgrounds to speaker notes.

Jaan Pullerits před 10 roky
rodič
revize
82a692c394
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      js/reveal.js

+ 1 - 1
js/reveal.js

@@ -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