mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-24 14:41:20 -08:00
调整组件嵌入规则
This commit is contained in:
1 parent
88533c1023
commit
8619fa1b8b
22 files changed
+553
-392
No files matched your search
@@ -94,6 +94,19 @@ var art = new Artplayer({
|
||||
time: 300,
|
||||
text: '--终わり--'
|
||||
}
|
||||
],
|
||||
controls: [
|
||||
function (art) {
|
||||
return {
|
||||
name: 'myController',
|
||||
position: 'right',
|
||||
index: 1,
|
||||
html: 'myController',
|
||||
click: function() {
|
||||
console.log('click myController');
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user