Explorar el Código

Merge pull request #1037 from Suva/dev

Do not add video backgrounds to speaker notes.
Hakim El Hattab hace 10 años
padre
commit
a5e4fcb839
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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