mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-16 17:46:17 -08:00
update docs
This commit is contained in:
1 parent
b086ff2141
commit
b01744f5ca
38 files changed
+112
-110
No files matched your search
@@ -27,10 +27,10 @@ var art = new Artplayer({
|
||||
},
|
||||
],
|
||||
onSelect: function (item, $dom) {
|
||||
art.subtitle.switch(item.url, {
|
||||
name: $dom.innerText,
|
||||
});
|
||||
console.info(item, $dom);
|
||||
|
||||
art.subtitle.url = item.url;
|
||||
|
||||
return 'You click ' + item.html;
|
||||
},
|
||||
},
|
||||
|
||||
@@ -27,10 +27,10 @@ var art = new Artplayer({
|
||||
},
|
||||
],
|
||||
onSelect: function (item, $dom) {
|
||||
art.subtitle.switch(item.url, {
|
||||
name: $dom.innerText,
|
||||
});
|
||||
console.info(item, $dom);
|
||||
|
||||
art.subtitle.url = item.url;
|
||||
|
||||
return '你点击了 ' + item.html;
|
||||
},
|
||||
},
|
||||
|
||||
@@ -7,6 +7,8 @@
|
||||
bottom: 35px;
|
||||
min-width: 100px;
|
||||
max-width: 200px;
|
||||
max-height: 200px;
|
||||
overflow: auto;
|
||||
padding: 5px 0;
|
||||
text-align: center;
|
||||
color: #fff;
|
||||
|
||||
Reference in new issue
Block a user