mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-13 07:46:17 -08:00
chore: Update artplayer-proxy-canvas to support canvas proxy
This commit is contained in:
1 parent
0f60ea53ae
commit
813528f916
4 files changed
+59
-19
No files matched your search
@@ -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(),
|
||||
});
|
||||
Reference in new issue
Block a user