refactor: Update video element in Artplayer to support custom canvas or video

This commit is contained in:
Harvey Zack committed 2024-08-18 21:06:56 +08:00
1 parent 7fa69a7de8
commit 7f6c9c8ee1
27 files changed
+326 -287

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
// npm i artplayer-proxy-webav
// import artplayerProxyWebAV from 'artplayer-proxy-webav';
var art = new Artplayer({
container: '.artplayer-app',
url: '/assets/sample/video.mp4',
proxy: artplayerProxyWebAV({
//
}),
});