remove autoHeight option

This commit is contained in:
Harvey committed 2021-12-31 17:56:43 +08:00
1 parent a74c6194be
commit 8404a8c5cd
19 files changed
+61 -78

No files matched your search

+2 -5
View File
@@ -212,11 +212,6 @@ type Option = {
*/
autoMini?: boolean;
/**
* Set the container height based on the video length aspect ratio and the container width
*/
autoHeight?: boolean;
/**
* Whether video auto loop
*/
@@ -458,6 +453,8 @@ declare class Player {
set rotate(deg: Rotate);
get autoSize(): boolean;
set autoSize(state: boolean);
get autoHeight(): boolean;
set autoHeight(state: boolean);
get currentTime(): number;
set currentTime(time: number);
get duration(): number;