Jelajahi Sumber

Do not add video backgrounds to speaker notes.

Jaan Pullerits 10 tahun lalu
induk
melakukan
82a692c394
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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