We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
this.$video.addEventListener('progress', (e) => { if(this.$video.onprogress){ this.video.loaded = (-1 + (this.$video.buffered.end(0) / this.$video.duration)) * 100 } })
加上this.$video.onprogress判断,否则会报错,因为超出范围了。
The text was updated successfully, but these errors were encountered:
@zyp199737 欢迎提交 PR
Sorry, something went wrong.
No branches or pull requests
this.$video.addEventListener('progress', (e) => {
if(this.$video.onprogress){
this.video.loaded = (-1 + (this.$video.buffered.end(0) / this.$video.duration)) * 100
}
})
加上this.$video.onprogress判断,否则会报错,因为超出范围了。
The text was updated successfully, but these errors were encountered: