DIYgod / APlayer

:lollipop: Wow, such a beautiful HTML5 music player
http://aplayer.js.org
MIT License
7.31k stars 1.03k forks source link

seek方法无效 #375

Open itxve opened 4 years ago

itxve commented 4 years ago

中文用户请注意:请尽量用英文描述你的 issue,这样能够让尽可能多的人帮到你。

If you want to report a bug, please provide the following information:

error:APlayer.min.js:1 Uncaught (in promise) DOMException: The play() request was interrupted by a new load request. https://goo.gl/LdLk22 这里好像重新设置了seek(0) 有方法避免吗

Guro2 commented 4 years ago

loadeddata事件里seek,在seeked事件里把current置零