mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-11 13:56:15 -08:00
fix demo
This commit is contained in:
1 parent
737b667c1b
commit
0aeb1262db
5 files changed
+2
-155
No files matched your search
@@ -60,13 +60,6 @@ var art = new Artplayer({
|
||||
html: 'Japanese',
|
||||
url: '/assets/sample/subtitle.jp.srt',
|
||||
},
|
||||
{
|
||||
html: 'Setting 03',
|
||||
switch: false,
|
||||
onSwitch: function (item) {
|
||||
return !item.switch;
|
||||
},
|
||||
},
|
||||
],
|
||||
onSelect: function (item) {
|
||||
art.subtitle.switch(item.url, {
|
||||
|
||||
Reference in new issue
Block a user