mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-27 09:41:20 -08:00
Update artplayer.d.ts
This commit is contained in:
1 parent
94405a7240
commit
008232ea14
1 file changed
+17
-9
+17
-9
@@ -103,42 +103,48 @@ export default class Artplayer {
|
|||||||
/**
|
/**
|
||||||
* Initialize the custom layer
|
* Initialize the custom layer
|
||||||
*/
|
*/
|
||||||
layers?: any[];
|
layers?: object[];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Initialize the custom contextmenu
|
* Initialize the custom contextmenu
|
||||||
*/
|
*/
|
||||||
contextmenu?: any[];
|
contextmenu?: object[];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Initialize the custom quality
|
* Initialize the custom quality
|
||||||
*/
|
*/
|
||||||
quality?: any[];
|
quality?: object[];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Initialize the custom controls
|
* Initialize the custom controls
|
||||||
*/
|
*/
|
||||||
controls?: any[];
|
controls?: object[];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Initialize the custom highlight
|
* Initialize the custom highlight
|
||||||
*/
|
*/
|
||||||
highlight?: any[];
|
highlight?: object[];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Initialize the custom plugins
|
* Initialize the custom plugins
|
||||||
*/
|
*/
|
||||||
plugins?: any[];
|
plugins?: Function[];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Initialize the custom whitelist
|
* Initialize the custom whitelist
|
||||||
*/
|
*/
|
||||||
whitelist?: any[];
|
whitelist?: [string, Function, regexp];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Thumbnails option
|
* Thumbnails option
|
||||||
*/
|
*/
|
||||||
thumbnails?: object;
|
thumbnails?: {
|
||||||
|
url: string;
|
||||||
|
number?: number;
|
||||||
|
width?: number;
|
||||||
|
height?: number;
|
||||||
|
column?: number;
|
||||||
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Subtitle option
|
* Subtitle option
|
||||||
@@ -164,6 +170,8 @@ export default class Artplayer {
|
|||||||
/**
|
/**
|
||||||
* Custom video type
|
* Custom video type
|
||||||
*/
|
*/
|
||||||
customType?: object;
|
customType?: {
|
||||||
|
[propName: string]: Function;
|
||||||
|
};
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user