mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-19 11:21:20 -08:00
优化演示
This commit is contained in:
1 parent
7d766ac1d5
commit
2a933206dc
3 files changed
+25
-4
No files matched your search
@@ -7,6 +7,15 @@ var app = new Artplayer({
|
||||
pip: true,
|
||||
autoSize: true,
|
||||
theme: '#ffad00',
|
||||
contextmenu: [
|
||||
{
|
||||
html: '自定义菜单 - 天亮请关灯 Σ(っ °Д °;)っ',
|
||||
click: function() {
|
||||
document.querySelector('.video-wrap').classList.toggle('dark');
|
||||
this.hide();
|
||||
}
|
||||
}
|
||||
],
|
||||
quality: [
|
||||
{
|
||||
default: true,
|
||||
|
||||
Reference in new issue
Block a user