mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-16 17:46:17 -08:00
feat: artplayerProxyCanvas
This commit is contained in:
1 parent
22dce779d1
commit
710f9477f8
4 files changed
+173
-182
No files matched your search
@@ -24,23 +24,5 @@ var art = new Artplayer({
|
||||
column: 10,
|
||||
scale: 0.85,
|
||||
},
|
||||
controls: [
|
||||
{
|
||||
position: 'right',
|
||||
html: 'play',
|
||||
index: 1,
|
||||
click: function () {
|
||||
window.video.play();
|
||||
},
|
||||
},
|
||||
{
|
||||
position: 'right',
|
||||
html: 'pause',
|
||||
index: 2,
|
||||
click: function () {
|
||||
window.video.pause();
|
||||
},
|
||||
},
|
||||
],
|
||||
proxy: artplayerProxyCanvas(),
|
||||
});
|
||||
Reference in new issue
Block a user