Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

用了这个一直报错这个"class" is a reserved attribute and cannot be used as component prop.想问问是什么原因呢 #447

Open
4 tasks done
fxzer opened this issue Oct 20, 2022 · 2 comments

Comments

@fxzer
Copy link

fxzer commented Oct 20, 2022

Describe the bug

相关代码如下,我把class删了还是一直报错 ,找不到啥原因
image
image
image
image

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

  • Read the the documentation in detail.
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
  • The provided reproduction is a minimal reproducible example of the bug.
@18856743789
Copy link

解决了吗

@fxzer
Copy link
Author

fxzer commented Jun 12, 2023

没解决,我另外寻找的第三方库:"vue-video-player": "^6.0.0",

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants