xgplayer icon indicating copy to clipboard operation
xgplayer copied to clipboard

引用本地css时,播放器全黑、不显示视频内容

Open passcar opened this issue 2 years ago • 5 comments

开发环境: 1、node v16.17.1; 2、HBuilder v3.8.7.20230703构建的vue3项目; 3、npm install [email protected] 4、Firefox Developer Edition v115.0b9 (64 位);Google Chrome v114.0.5735.199(64 位);Microsoft Edge v116.0.1938.1 dev (64 位) 存在的问题: 引用本地css时,播放器全黑、不显示视频内容; 使用@import url('https://unpkg.byted-static.com/xgplayer/3.0.0-next.42/dist/index.min.css')这种方式引入css则无异常。

videoPlayer.txt

passcar avatar Jul 04 '23 02:07 passcar

试试把scoped属性去掉

gemxx avatar Aug 01 '23 08:08 gemxx

试试把scoped属性去掉

谢谢,这个方法也解决不了

passcar avatar Aug 02 '23 01:08 passcar

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.

github-actions[bot] avatar Oct 31 '23 02:10 github-actions[bot]

试试把scoped属性去掉

谢谢,这个方法也解决不了

是不是打包工具的配置中,css-loader把node_moudules给exclude了,尝试一下将node_moudules/xgplayer 配置成include试试

hongqx avatar Nov 17 '23 07:11 hongqx

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.

github-actions[bot] avatar Feb 15 '24 09:02 github-actions[bot]

This issue has been automatically closed after a period of inactivity. If it is still present in the latest release, please create a new issue with up-to-date information. Thank you!

github-actions[bot] avatar Mar 18 '24 00:03 github-actions[bot]