mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-26 00:31:20 -08:00
refactor: Update video element in Artplayer to support custom canvas or video
This commit is contained in:
1 parent
66010cb376
commit
7fa69a7de8
6 files changed
+22
-25
No files matched your search
Vendored
+2
-2
@@ -208,9 +208,9 @@ export type Option = {
|
||||
airplay?: boolean;
|
||||
|
||||
/**
|
||||
* Custom video element
|
||||
* Custom video proxy
|
||||
*/
|
||||
video?: null | HTMLCanvasElement | HTMLVideoElement;
|
||||
proxy?: null | ((this: Artplayer, art: Artplayer) => HTMLCanvasElement | HTMLVideoElement);
|
||||
|
||||
/**
|
||||
* Custom plugin list
|
||||
|
||||
Reference in new issue
Block a user