add artplayerPluginPlaylist:change

This commit is contained in:
zhw2590582 committed 2019-04-21 12:28:52 +08:00
1 parent a056983047
commit 2ebdfb4a2d
3 files changed
+7 -3

No files matched your search

+3 -1
View File
@@ -33,7 +33,9 @@
function switchUrl(index) {
var itemOption = playlist[index];
player.switchUrl(itemOption.url, itemOption.title);
player.switchUrl(itemOption.url, itemOption.title).then(function () {
art.emit('artplayerPluginPlaylist:change', itemOption);
});
}
proxy($playlistInner, 'click', function (e) {