chore: Update artplayer-proxy-canvas to support canvas proxy

This commit is contained in:
Harvey Zack committed 2024-09-08 18:20:11 +08:00
1 parent 0f60ea53ae
commit 813528f916
4 files changed
+59 -19

No files matched your search

+5 -6
View File
@@ -3,7 +3,7 @@
var art = new Artplayer({
container: '.artplayer-app',
url: '/assets/sample/frag_bunny.mp4',
url: '/assets/sample/video.mp4',
volume: 0.5,
autoplay: false,
autoSize: false,
@@ -18,11 +18,10 @@ var art = new Artplayer({
miniProgressBar: true,
autoPlayback: true,
thumbnails: {
url: '/assets/sample/bbb-sprite.jpg',
number: 121,
column: 11,
width: 128,
height: 72,
url: '/assets/sample/thumbnails.png',
number: 60,
column: 10,
scale: 0.85,
},
proxy: artplayerProxyCanvas(),
});