bytedance / xgplayer

A HTML5 video player with a parser that saves traffic
https://h5player.bytedance.com/
MIT License
8.24k stars 864 forks source link

是否支持vue3+TS环境下使用本项目 #1512

Open kelvaer opened 3 months ago

kelvaer commented 3 months ago

您使用的西瓜播放器版本是多少? What version of xgplayer are you using?

xgplayer@2.0.0

您使用的操作系统和浏览器分别是? What OS and browser are you using? win10 edge

如何复现问题? How to reproduce the problem?

在vue3+TS环境下使用本项目

您期望的播放器正常行为是? What did you expect to happen?

支持vue3+TS环境下使用本项目

实际播放器的表现是? What actually happened?

引入依赖后报错无法启动

可填写您所在的公司和相关产品业务,方便我们提供更好的技术支持 You can write your company and product which uses xgplayer, for helping us provide better technical support.

gemxx commented 3 months ago

@kelvaer 请试试 xgplayer@3.x 版本,https://h5player.bytedance.com/guide/#%E5%AE%89%E8%A3%85

github-actions[bot] commented 2 days ago

This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 30 days.