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 ) {