Pārlūkot izejas kodu

Do not add video backgrounds to speaker notes.

Jaan Pullerits 10 gadi atpakaļ
vecāks
revīzija
82a692c394
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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