You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
您使用的西瓜播放器版本是多少? What version of xgplayer are you using?
"xgplayer":"3.0.20","xgplayer-flv": "3.0.20"
您使用的操作系统和浏览器分别是? What OS and browser are you using?
win11 chrome 129.0.6668.101
如何复现问题? How to reproduce the problem?
初次播放,若视频接口请求失败会进行重连3次,并触发‘error’事件,此时通过给实例src属性赋值,调用实例的switchUrl方法或者调用实例的start方法来重新加载视频,此时视频接口如果仍请求失败会无限次重连(观察所见);
您使用的西瓜播放器版本是多少? What version of xgplayer are you using?
"xgplayer":"3.0.20","xgplayer-flv": "3.0.20"
您使用的操作系统和浏览器分别是? What OS and browser are you using?
win11 chrome 129.0.6668.101
如何复现问题? How to reproduce the problem?
初次播放,若视频接口请求失败会进行重连3次,并触发‘error’事件,此时通过给实例src属性赋值,调用实例的switchUrl方法或者调用实例的start方法来重新加载视频,此时视频接口如果仍请求失败会无限次重连(观察所见);
如果重新加载视频后调用实例的retry方法会触发‘play'事件(我理解play事件是视频正常播放会触发,retry方法本身不应该触发play事件,个人理解)
您期望的播放器正常行为是? What did you expect to happen?
实例可以配置重连次数并按重连次数重连,或者是无论是切换视频源,还是实例初始化,播放失败均按3次重连
实际播放器的表现是? What actually happened?
播放失败后换源后若仍播放失败会无限次重连
可填写您所在的公司和相关产品业务,方便我们提供更好的技术支持 You can write your company and product which uses xgplayer, for helping us provide better technical support.
仓储视频监控平台
The text was updated successfully, but these errors were encountered: