diff --git a/js/reveal.js b/js/reveal.js index 927670cd65e1dcd146953ff6fefc0eafabb69aff..1990e8f45ff4eae1b00429209c75f01cc7f067a3 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 ) {