Skip to content

Commit c3eb25d

Browse files
authored
加载视频后报错
1 parent 3aa9dee commit c3eb25d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* Adapted from Videojs (https://github.com/videojs/video.js)
55
*
66
*/
7-
7+
window.WebVTT = require('videojs-vtt.js').WebVTT
88
window.videojs = require('video.js')
99
require('video.js/dist/alt/video-js-cdn.css')
1010
videojs.options.flash.swf = "https://cdn.bootcss.com/video.js/5.13.0/video-js.swf"

0 commit comments

Comments
 (0)