mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-26 08:51:20 -08:00
add ts
This commit is contained in:
1 parent
965e3e008f
commit
95bbe6f3b2
8 files changed
+57
-98
No files matched your search
+39
@@ -0,0 +1,39 @@
|
||||
export default class Artplayer {
|
||||
constructor(option: {
|
||||
container: string | Element;
|
||||
url: string;
|
||||
poster?: string;
|
||||
title?: string;
|
||||
type?: string;
|
||||
mimeCodec?: string;
|
||||
theme?: string;
|
||||
lang?: string;
|
||||
volume?: number;
|
||||
isLive?: boolean;
|
||||
muted?: boolean;
|
||||
autoplay?: boolean;
|
||||
autoSize?: boolean;
|
||||
loop?: boolean;
|
||||
playbackRate?: boolean;
|
||||
aspectRatio?: boolean;
|
||||
screenshot?: boolean;
|
||||
setting?: boolean;
|
||||
hotkey?: boolean;
|
||||
pip?: boolean;
|
||||
mutex?: boolean;
|
||||
fullscreen?: boolean;
|
||||
fullscreenWeb?: boolean;
|
||||
layers?: any[];
|
||||
contextmenu?: any[];
|
||||
quality?: any[];
|
||||
controls?: any[];
|
||||
highlight?: any[];
|
||||
plugins?: any[];
|
||||
whitelist?: any[];
|
||||
thumbnails?: object;
|
||||
subtitle?: object;
|
||||
moreVideoAttr?: object;
|
||||
icons?: object;
|
||||
customType?: object;
|
||||
});
|
||||
}
|
||||
Reference in new issue
Block a user