Skip to content
New issue

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

音频播放结束,进度条位置还没有到终点,而且报了下面的错误 #4

Open
lizzie0802 opened this issue Aug 4, 2016 · 2 comments

Comments

@lizzie0802
Copy link

bundle.js:42215 Uncaught IndexSizeError: Failed to execute 'end' on 'TimeRanges': The index provided (0) is greater than or equal to the maximum bound (0).

@zyp199737
Copy link

411行 加判断
this.$video.addEventListener('progress', (e) => {
if(this.$video.onprogress){
this.video.loaded = (-1 + (this.$video.buffered.end(0) / this.$video.duration)) * 100
}
})

@passioncsu
Copy link

谢谢,解决了我的问题,非常感谢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants