From 6d1a66c2bcb3e859bcf011a3af60b8196c0d4c1f Mon Sep 17 00:00:00 2001 From: Hakim El Hattab Date: Fri, 30 May 2014 08:12:57 +0200 Subject: [PATCH] fix search & replace error --- js/reveal.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ) {