Wang Chao

Results 21 comments of Wang Chao

> 这个就是冒泡的原因撒,内层和外层只有一个设置点击才行! itchao 2022年5月21日21:19:28

> 如果是这样配置则可以显示视频请求,但是 http 状态ma码 是206,还是无法播放 hi,我遇到过类似的需求。你可以尝试在 new Player 的时候传入一个函数, ...getVideoConfig(url)。然后函数里面根据流地址的格式,去形成集成不同的插件配置。 ```javascript function getVideoConfig(url: string) { const extension = url.toLowerCase().split('.').pop(); switch (extension) { case 'm3u8': return { plugins: [HlsPlugin], }; case...

> > > 如果是这样配置则可以显示视频请求,但是 http 状态ma码 是206,还是无法播放 > > > > > > hi,我遇到过类似的需求。你可以尝试在 new Player 的时候传入一个函数, ...getVideoConfig(url)。然后函数里面根据流地址的格式,去形成集成不同的插件配置。 > > ```js > > function getVideoConfig(url: string) { > > const...

> > > 如果是这样配置则可以显示视频请求,但是 http 状态ma码 是206,还是无法播放 > > > > > > hi,我遇到过类似的需求。你可以尝试在 new Player 的时候传入一个函数, ...getVideoConfig(url)。然后函数里面根据流地址的格式,去形成集成不同的插件配置。 > > ```js > > function getVideoConfig(url: string) { > > const...

> **您使用的西瓜播放器版本是多少? What version of xgplayer are you using?** 3.0.13 > > **您使用的操作系统和浏览器分别是? What OS and browser are you using?** win11, chrome > > **如何复现问题? How to reproduce the problem?**...

> **您使用的西瓜播放器版本是多少? What version of xgplayer are you using?** 3.0.14 > > **您使用的操作系统和浏览器分别是? What OS and browser are you using?** m2 chrome > > **如何复现问题? How to reproduce the problem?**...

> +1 不知道是我电脑问题还是啥,保存的话就会等待3-5秒,实际开发真受不了,希望作者优化 回退插件版本,至 4.9.2

如果使用的是 vscode 可直接在 .vscode 文件夹中设置

> 好的,谢谢 不客气