Skip to content
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

作者你好,使用第三方video.js插件会报错 #2

Open
Sam1141968878 opened this issue Jan 18, 2021 · 5 comments
Open

作者你好,使用第三方video.js插件会报错 #2

Sam1141968878 opened this issue Jan 18, 2021 · 5 comments

Comments

@Sam1141968878
Copy link

比如按照vue-video-player的使用插件例子:
https://github.com/surmon-china/vue-video-player/blob/master/examples/02-video.vue

image

会报错:
Error in v-on handler: "TypeError: player.hotkeys is not a function"
image

@Sam1141968878
Copy link
Author

请教一下作者,在本库中如何正确的使用video插件呢

@wangdaodao
Copy link
Owner

video插件这块,我还没有研究,等我后续研究一下,谢谢支持。

@Sam1141968878
Copy link
Author

作者加油!持续关注中

@wangdaodao
Copy link
Owner

作者加油!持续关注中

surmon-china/videojs-player#218 ,看了一下源码,也没发现他是怎么做的。你可以fork下来,自己试试看,查了官方资料,好像也没发现有相应的文档。

@Sam1141968878
Copy link
Author

是啊,我也找了这里的issue,没发现,我技术一般,目前有2个项目用到了你这个插件,如果能使用插件那就更完美了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants