浏览代码

fix search & replace error

Hakim El Hattab 10 年之前
父节点
当前提交
6d1a66c2bc
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      js/reveal.js

+ 1 - 1
js/reveal.js

@@ -2364,7 +2364,7 @@
 				}
 				}
 				// Videos
 				// Videos
 				else if ( backgroundVideo ) {
 				else if ( backgroundVideo ) {
-					var video = dom.wrapper.createElement( 'video' );
+					var video = document.createElement( 'video' );
 
 
 					// Support comma separated lists of video sources
 					// Support comma separated lists of video sources
 					backgroundVideo.split( ',' ).forEach( function( source ) {
 					backgroundVideo.split( ',' ).forEach( function( source ) {