优化字幕传参

This commit is contained in:
Harvey committed 2020-09-04 12:44:50 +08:00
1 parent 92686dfcb6
commit deaa4fa13d
7 files changed
+56 -47

No files matched your search

+3 -1
View File
@@ -23,7 +23,9 @@ var art = new Artplayer({
},
],
onSelect: function (item) {
art.subtitle.switch(item.url, item.name);
art.subtitle.switch(item.url, {
name: item.name
});
},
},
],