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

适配vue3.0 api 更新video.js版本 #419

Closed saddit closed 2 years ago

saddit commented 3 years ago

vue3.0 废弃了 beforeDestory 更为 beforeUnmount 监听API由on改为了$watch this在匿名方法中指向不一致 更改为方法外的self临时变量