aboutsummaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
Diffstat (limited to 'js')
-rw-r--r--js/reveal.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/reveal.js b/js/reveal.js
index 927670c..1990e8f 100644
--- a/js/reveal.js
+++ b/js/reveal.js
@@ -2364,7 +2364,7 @@
}
// Videos
else if ( backgroundVideo ) {
- var video = dom.wrapper.createElement( 'video' );
+ var video = document.createElement( 'video' );
// Support comma separated lists of video sources
backgroundVideo.split( ',' ).forEach( function( source ) {