videojs-player
videojs-player copied to clipboard
Does vue3 support custom buttons to play pause video?
Describe the bug
I'm using the latest version of vue3 and have gotten the component instance, but can't execute the play() method
Reproduction
System Info
"dependencies": {
"@videojs-player/vue": "1.0.0",
"video.js": "8.9.0",
"vue": "^3.3.11",
"vue-router": "^4.2.5",
},
Used Package Manager
yarn
Validations
- [X] Read the the documentation in detail.
- [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- [X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
- [X] The provided reproduction is a minimal reproducible example of the bug.
我也遇到这个问题了,主键实例的这些方法都是undefined,只能通过dom去执行方法