This commit is contained in:
Harvey Zack committed 2019-04-19 15:41:12 +08:00
1 parent 965e3e008f
commit 95bbe6f3b2
8 files changed
+57 -98

No files matched your search

+39
View File
@@ -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;
});
}