improve mobile compatibility: Can't set currentTime before loadedmetadata

This commit is contained in:
DIYgod
2016-01-19 00:43:47 +08:00
parent d50f90380b
commit 58df0cd151
3 changed files with 2 additions and 3 deletions
-1
View File
@@ -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;