如果获取下载进度以及下载完成事件
#878
-
您使用的西瓜播放器版本是多少? What version of xgplayer are you using? 您使用的操作系统和浏览器分别是? What OS and browser are you using? 如何复现问题? What did you do? 您期望的播放器正常行为是? What did you expect to happen? 实际播放器的表现是? What actually happened? 可填写您所在的公司和相关产品业务,方便我们提供更好的技术支持 You can write your company and product which uses xgplayer, for helping us provide better technical support. |
Beta Was this translation helpful? Give feedback.
Answered by
gemxx
Feb 21, 2023
Replies: 1 comment
-
download 插件采用的开源 downloadjs 实现的下载功能,由于该开源实现的原理,无法提供统一的下载进度事件,因此xgplayer也不提供相关事件。如果有强烈业务需求,可以参考 downloadjs xmlHttpRequest 逻辑实现一个自定义的下载插件 |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
gemxx
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
download 插件采用的开源 downloadjs 实现的下载功能,由于该开源实现的原理,无法提供统一的下载进度事件,因此xgplayer也不提供相关事件。如果有强烈业务需求,可以参考 downloadjs xmlHttpRequest 逻辑实现一个自定义的下载插件