Commit fe8c67f8 authored by Xiaowu Zhang's avatar Xiaowu Zhang

fix loop playmode bug in audioplayer

parent 9593da28
......@@ -158,7 +158,10 @@
g.decoded = true;
g.audio.onended = function () {
g.nextToPlay().then(function (id) {
g.nextTitle(g.playlist[id]);
g.setSong(id).then(function () {
g.playSong();
g.allNotify();
});
});
};
input_context.onchange = function () {
......
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