From 82a692c394e894d603590789ab92893807ed71b7 Mon Sep 17 00:00:00 2001 From: Jaan Pullerits Date: Fri, 24 Oct 2014 12:35:49 +0000 Subject: [PATCH] Do not add video backgrounds to speaker notes. --- js/reveal.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/reveal.js b/js/reveal.js index 9ea61db0..6605505f 100644 --- a/js/reveal.js +++ b/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