-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
使用hls的时候报错 'EventTarget' of undefined #127
Comments
最新版本 v5.0.0 解决此问题。需要删除 node_modules,重新安装。 |
已发布,记得删除 |
还是不行... 还是在报: Uncaught TypeError: Cannot read property 'EventTarget' of undefined |
@sunxiang0918 试试这样引入 import 'videojs-contrib-hls'; |
TypeError: Cannot read property 'EventTarget' of undefined,只要引入import "videojs-contrib-hls/dist/videojs-contrib-hls" 就报错! |
解决,如@shangTou所述 |
这个问题又出现了 |
不行啊 还是有问题 |
目前尝试了
回退 import 'videojs-contrib-hls/dist/videojs-contrib-hls' |
有用 |
error: videojs-contrib-hls.js Uncaught TypeError: Cannot read property 'EventTarget' of undefined
vue-video-player: 4.0.6
videojs: 6.4.0
videojs-contrib-hls: 5.12.2
The text was updated successfully, but these errors were encountered: