aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHakim El Hattab <hakim.elhattab@gmail.com>2014-11-05 10:00:43 +0100
committerHakim El Hattab <hakim.elhattab@gmail.com>2014-11-05 10:00:43 +0100
commita5e4fcb83919868ff3bfd64c85e6c6b02951cbcf (patch)
treec602a64ed6a4d3e9244c8d1d029240ee42149bca
parent6c8becc51b9cc1ef5078af0a92ea5161244458eb (diff)
parent82a692c394e894d603590789ab92893807ed71b7 (diff)
downloadfreenode-live-2017-presentation-a5e4fcb83919868ff3bfd64c85e6c6b02951cbcf.tar
freenode-live-2017-presentation-a5e4fcb83919868ff3bfd64c85e6c6b02951cbcf.tar.gz
Merge pull request #1037 from Suva/dev
Do not add video backgrounds to speaker notes.
-rw-r--r--js/reveal.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/reveal.js b/js/reveal.js
index 9ea61db..6605505 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