mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-26 08:51:20 -08:00
fix ts
This commit is contained in:
1 parent
175e001533
commit
3e609bb153
5 files changed
+53
-21
No files matched your search
+50
-10
@@ -55,6 +55,11 @@ export default class Artplayer {
|
||||
*/
|
||||
autoSize?: boolean;
|
||||
|
||||
/**
|
||||
* When the player scrolls out of the viewport, the mini player mode is automatically enabled
|
||||
*/
|
||||
autoMin?: boolean;
|
||||
|
||||
/**
|
||||
* Whether to loop
|
||||
*/
|
||||
@@ -100,6 +105,16 @@ export default class Artplayer {
|
||||
*/
|
||||
mutex?: boolean;
|
||||
|
||||
/**
|
||||
* Whether to display the light mode in the context menu
|
||||
*/
|
||||
light?: boolean;
|
||||
|
||||
/**
|
||||
* Whether to use blurred background in the context menu and settings panel
|
||||
*/
|
||||
backdrop?: boolean;
|
||||
|
||||
/**
|
||||
* Whether to display fullscreen button
|
||||
*/
|
||||
@@ -110,6 +125,41 @@ export default class Artplayer {
|
||||
*/
|
||||
fullscreenWeb?: boolean;
|
||||
|
||||
/**
|
||||
* Subtitle time offset plugin
|
||||
*/
|
||||
subtitleOffset?: boolean;
|
||||
|
||||
/**
|
||||
* Mini progress bar plugin
|
||||
*/
|
||||
miniProgressBar?: boolean;
|
||||
|
||||
/**
|
||||
* Local video preview plugin. By default, a configuration is added in the settings panel.
|
||||
*/
|
||||
localVideo?: boolean;
|
||||
|
||||
/**
|
||||
* Local subtitle preview plugin. By default, a configuration is added in the settings panel.
|
||||
*/
|
||||
localSubtitle?: boolean;
|
||||
|
||||
/**
|
||||
* A network monitor is used to monitor the blocking of the video.
|
||||
*/
|
||||
networkMonitor?: boolean;
|
||||
|
||||
/**
|
||||
* Initialize the custom plugins
|
||||
*/
|
||||
plugins?: Function[];
|
||||
|
||||
/**
|
||||
* Initialize the custom whitelist
|
||||
*/
|
||||
whitelist?: [string, Function, RegExp];
|
||||
|
||||
/**
|
||||
* Initialize the custom layer
|
||||
*/
|
||||
@@ -135,16 +185,6 @@ export default class Artplayer {
|
||||
*/
|
||||
highlight?: object[];
|
||||
|
||||
/**
|
||||
* Initialize the custom plugins
|
||||
*/
|
||||
plugins?: Function[];
|
||||
|
||||
/**
|
||||
* Initialize the custom whitelist
|
||||
*/
|
||||
whitelist?: [string, Function];
|
||||
|
||||
/**
|
||||
* Thumbnails option
|
||||
*/
|
||||
|
||||
Reference in new issue
Block a user