Skip to content

如果获取下载进度以及下载完成事件 #878

Answered by gemxx
yangqiong asked this question in Q&A
Discussion options

You must be logged in to vote

download 插件采用的开源 downloadjs 实现的下载功能,由于该开源实现的原理,无法提供统一的下载进度事件,因此xgplayer也不提供相关事件。如果有强烈业务需求,可以参考 downloadjs xmlHttpRequest 逻辑实现一个自定义的下载插件

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by gemxx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #875 on February 21, 2023 08:57.