mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-17 10:01:20 -08:00
refactor: Update video element in Artplayer to support custom canvas or video
This commit is contained in:
1 parent
5bbbaa398e
commit
52e424ad52
8 files changed
+54
-3
No files matched your search
@@ -4,7 +4,7 @@
|
||||
|
||||
var art = new Artplayer({
|
||||
container: '.artplayer-app',
|
||||
url: '/assets/sample/frag_bunny.mp4',
|
||||
url: '/assets/sample/bbb-video.mp4',
|
||||
volume: 0.5,
|
||||
autoplay: false,
|
||||
autoSize: false,
|
||||
@@ -18,6 +18,13 @@ var art = new Artplayer({
|
||||
fullscreenWeb: true,
|
||||
miniProgressBar: true,
|
||||
autoPlayback: true,
|
||||
thumbnails: {
|
||||
url: '/assets/sample/bbb-sprite.jpg',
|
||||
number: 121,
|
||||
column: 11,
|
||||
width: 128,
|
||||
height: 72,
|
||||
},
|
||||
proxy: artplayerProxyWebAV({
|
||||
//
|
||||
}),
|
||||
|
||||
Reference in new issue
Block a user