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

This commit is contained in:
Harvey Zack committed 2024-09-08 18:05:06 +08:00
1 parent c984034234
commit 0f60ea53ae
10 files changed
+446

No files matched your search

@@ -0,0 +1,10 @@
import type Artplayer from 'artplayer';
export = artplayerProxyCanvas;
export as namespace artplayerProxyCanvas;
type Option = (video: HTMLVideoElement, url: String, art: Artplayer) => void;
type Result = HTMLCanvasElement;
declare const artplayerProxyCanvas: (option: Option) => (art: Artplayer) => Result;