mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-10 21:06:15 -08:00
优化字幕传参
This commit is contained in:
1 parent
92686dfcb6
commit
deaa4fa13d
7 files changed
+56
-47
No files matched your search
@@ -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
|
||||
});
|
||||
},
|
||||
},
|
||||
],
|
||||
|
||||
Reference in new issue
Block a user