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

@@ -0,0 +1,9 @@
export default function artplayerProxyWebAV(option) {
return (art) => {
return document.createElement('video');
};
}
if (typeof window !== 'undefined') {
window['artplayerProxyWebAV'] = artplayerProxyWebAV;
}