mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-25 16:11:20 -08:00
移除列表自动播放
This commit is contained in:
1 parent
3b172ffa93
commit
a056983047
3 files changed
+3
-7
No files matched your search
@@ -34,9 +34,7 @@ function artplayerPluginPlaylist(art) {
|
||||
|
||||
function switchUrl(index) {
|
||||
const itemOption = playlist[index];
|
||||
player.switchUrl(itemOption.url, itemOption.title).then(() => {
|
||||
player.play();
|
||||
});
|
||||
player.switchUrl(itemOption.url, itemOption.title);
|
||||
}
|
||||
|
||||
proxy($playlistInner, 'click', e => {
|
||||
|
||||
Reference in new issue
Block a user