Commit 345846aa authored by Xiaowu Zhang's avatar Xiaowu Zhang

fix setiing twice problem in audioplayer

parent a333157f
......@@ -121,10 +121,6 @@
name = href.slice(lastIndex);
control.setSong(name).then(function () {
control.playSong();
animation.showAnimation();
control.getTotalTime().then(function (value) {
time.setMax(value);
});
});
} else {
control.stopSong();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment