添加设置控制器

This commit is contained in:
Harvey Zack committed 2018-11-02 15:04:16 +08:00
1 parent 711cf5684a
commit 9eab1ed6c0
24 files changed
+297 -119

No files matched your search

+9 -3
View File
@@ -37,6 +37,15 @@
width: 190,
height: 107
},
contextmenu: [
{
html: '自定义菜单 - 天黑请关灯 Σ(っ °Д °;)っ',
click: function () {
document.body.classList.toggle('dark');
this.hide();
}
}
],
quality: [
{
default: true,
@@ -92,10 +101,7 @@
});
});
// console.dir(Artplayer);
console.log(player);
Artplayer.config.video.events.forEach(item => {
player.on('video:' + item, event => {
console.log('video', event);