surmon-china / videojs-player

@videojs player component for @vuejs(3) and React.
https://github.surmon.me/videojs-player
MIT License
5.25k stars 1.13k forks source link

Does vue3 support custom buttons to play pause video? #459

Open F1462900874 opened 8 months ago

F1462900874 commented 8 months ago

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

fengfengzhidao commented 4 months ago

我也遇到这个问题了,主键实例的这些方法都是undefined,只能通过dom去执行方法