videojs-player
videojs-player copied to clipboard
用了这个一直报错这个"class" is a reserved attribute and cannot be used as component prop.想问问是什么原因呢
Describe the bug
相关代码如下,我把class删了还是一直报错 ,找不到啥原因
Reproduction
麻烦把使用方式统一下好吗?? npm上叫videojs-player, github上叫vue-video-player, 还有导入方式也不统一, 文档一点也不详细, 用的让人...... 有的这样 import { VideoJsPlayer } from 'video.js' import { VideoPlayer } from 'vue-video-player' import 'video.js/dist/video-js.css' 文档这样: import { VideoJsPlayer } from 'video.js' import { VideoPlayer } from '@videojs-player/vue' import 'video.js/dist/video-js.css' 结果报错 还有最恶心的就是文档模板代码连ctrl+v都复制不了, 一定要右键才能复制, 使用感受就是: 心累!!!!
System Info
麻烦把使用方式统一下好吗?? npm上叫videojs-player, github上叫vue-video-player, 还有导入方式也不统一, 文档一点也不详细, 需要安装video.js也不写, 用的让人......
Used Package Manager
npm
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.
解决了吗
没解决,我另外寻找的第三方库:"vue-video-player": "^6.0.0",