vue3-video-play
vue3-video-play copied to clipboard
适用于 Vue3 的 hls.js 播放器组件,配置丰富,界面还算好看
speedActive 设置无效
我按照官方文档编写代码,但是没有出现视频框   
 需求:希望用户不能下载播放的视频资源,如果使用360极速浏览器等 点击如图所示小窗口播放按钮,就能正常下载视频资源 如何禁用360极速浏览器等浏览器自带的小窗口播放功能
在父组件动态修改传入的speed、control等属性的值,不生效
组件绑定的事件 @play="onPlay" const onPlay = (ev) => { nextTick(()=>{ let videoPlays = document.getElementsByClassName('videoPlay') if(videoPlays && videoPlays.length > 1){ for (const video of videoPlays) { console.log(videoPlayRef.value,video.paused); if (ev.srcElement && ev.srcElement !==...
If this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement.
Failed to resolve entry for package "vue3-video-play". The package may have incorrect main/module/exports specified in its package.json.
bug来自淘宝镜像的v1.3.2,编译提示package.json存在问题; 经查是module字段指向了"./dist/index.es.js",该文件并没有被打到dist中; 临时通过别名解决了。
导入包名报错问题
Failed to resolve entry for package "vue3-video-play". The package may have incorrect main/module/exports specified in its package.json.