improve mobile compatibility: Can't set currentTime before loadedmetadata
This commit is contained in:
@@ -314,7 +314,6 @@
|
||||
this.audio = document.createElement("audio");
|
||||
this.audio.src = this.music.url;
|
||||
this.audio.preload = this.isMobile ? 'none' : 'metadata';
|
||||
this.audio.currentTime = 0;
|
||||
|
||||
// show audio time
|
||||
var _self = this;
|
||||
|
||||
Reference in New Issue
Block a user