feat: artplayerProxyCanvas

This commit is contained in:
Harvey Zack committed 2024-09-15 10:39:11 +08:00
1 parent 22dce779d1
commit 710f9477f8
4 files changed
+173 -182

No files matched your search

-18
View File
@@ -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(),
});