Skip to content

Commit

Permalink
Update aplayer.js
Browse files Browse the repository at this point in the history
  • Loading branch information
inkss authored Apr 17, 2022
1 parent e3f3dff commit 44e0e6f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions source/js/plugins/aplayer.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,9 @@ const RightMenuAplayer = (() => {
});
APlayer.player.on('volumechange', function (e) {
fn.onUpdateAPlayerVolume(e);
APlayer.status = 'volumechange';
});
APlayer.player.on('loadstart', function (e) {
fn.updateTitle(e);
APlayer.status = 'loadstart';
});

// 监听音量手势
Expand Down Expand Up @@ -185,4 +183,4 @@ Object.freeze(RightMenuAplayer);

volantis.requestAnimationFrame(() => {
RightMenuAplayer.checkAPlayer();
});
});

0 comments on commit 44e0e6f

Please sign in to comment.