bytedance / xgplayer

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

xgplayer-hls.js插件能否支持多分辨率的m3u8自动添加分辨率切换 #1510

Open lvzhenbo opened 1 week ago

lvzhenbo commented 1 week ago

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

3.0.18

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

win11 chrome126

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

和官网给出的一样,但是链接是多分辨率的m3u8

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

多分辨率的m3u8能够播放但是默认是最高画质,希望能够有分辨率选择

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

没有分辨率选择

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

gemxx commented 4 days ago

@lvzhenbo 多分辨率的m3u8是指 master playlist 的方式吗?

lvzhenbo commented 4 days ago

是的,我看hls.js是支持解析的