mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-24 14:41:20 -08:00
update docs
This commit is contained in:
1 parent
62c2e42940
commit
32361e62f5
44 files changed
+139
-135
No files matched your search
@@ -43,6 +43,7 @@ var art = new Artplayer({
|
||||
onSelect: function onSubtitleSelect(item, $dom) {
|
||||
console.info(item, $dom);
|
||||
art.subtitle.url = item.url;
|
||||
return item.html;
|
||||
},
|
||||
},
|
||||
{
|
||||
@@ -66,6 +67,7 @@ var art = new Artplayer({
|
||||
onSelect: function onQualitySelect(item, $dom) {
|
||||
console.info(item, $dom);
|
||||
art.switchQuality(item.url, item.html);
|
||||
return item.html;
|
||||
},
|
||||
},
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user