mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-26 17:01:20 -08:00
refactor: Update video element resizing logic in Artplayer and artplayer-proxy-webav
This commit is contained in:
1 parent
84986d384a
commit
6f6d49bbae
7 files changed
+16
-11
No files matched your search
@@ -1,5 +1,8 @@
|
||||
export default function artplayerProxyLibmedia(option) {
|
||||
export default function artplayerProxyLibmedia(opt = {}) {
|
||||
return (art) => {
|
||||
const { option, constructor } = art;
|
||||
const { createElement, def } = constructor.utils;
|
||||
|
||||
return document.createElement('video');
|
||||
};
|
||||
}
|
||||
|
||||
@@ -7,8 +7,6 @@ type Option = {
|
||||
//
|
||||
};
|
||||
|
||||
type Result = {
|
||||
name: 'artplayerProxyLibmedia';
|
||||
};
|
||||
type Result = HTMLCanvasElement;
|
||||
|
||||
declare const artplayerProxyLibmedia: (option: Option) => (art: Artplayer) => Result;
|
||||
Reference in new issue
Block a user