Browse Source

fix search & replace error

Hakim El Hattab 10 years ago
parent
commit
6d1a66c2bc
1 changed files with 1 additions and 1 deletions
  1. 1 1
      js/reveal.js

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