فهرست منبع

Do not add video backgrounds to speaker notes.

Jaan Pullerits 10 سال پیش
والد
کامیت
82a692c394
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  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