-
Notifications
You must be signed in to change notification settings - Fork 239
Expand file tree
/
Copy pathableplayer.esm.d.ts
More file actions
116 lines (116 loc) · 3.36 KB
/
Copy pathableplayer.esm.d.ts
File metadata and controls
116 lines (116 loc) · 3.36 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
export { AblePlayer as default };
/**
* Construct the AblePlayer object.
*
* Able Player needs `window` to instantiate, so, skip the constructor if
* you are running outside the browser (for example, SSR).
*
* @param object media jQuery selector or element identifying the media.
*/
declare function AblePlayer(media: any): void;
declare class AblePlayer {
/**
* Construct the AblePlayer object.
*
* Able Player needs `window` to instantiate, so, skip the constructor if
* you are running outside the browser (for example, SSR).
*
* @param object media jQuery selector or element identifying the media.
*/
constructor(media: any);
media: any;
autoplay: boolean;
okToPlay: boolean;
loop: boolean;
playsInline: string;
hasPoster: boolean;
audioPoster: any;
audioPosterAlt: any;
width: any;
height: any;
startTime: any;
debug: boolean;
defaultVolume: any;
volume: any;
useChaptersButton: boolean;
readDescriptionsAloud: boolean;
descVoices: any[];
descReader: string;
defaultStateCaptions: number;
defaultStateDescriptions: number;
defaultDescPause: number;
playerHeadingLevel: any;
transcriptDivLocation: any;
hideTranscriptButton: boolean;
transcriptType: string;
transcriptSrc: any;
lyricsMode: boolean;
transcriptTitle: any;
$signDivLocation: any;
defaultCaptionsPosition: string;
chaptersDivLocation: any;
chaptersTitle: any;
defaultChapter: any;
speedIcons: string;
seekbarScope: string;
youTubeId: any;
youTubeDescId: any;
youTubeSignId: any;
youTubeNoCookie: boolean;
vimeoId: any;
vimeoDescId: any;
skin: string;
playerWidth: number;
allowFullscreen: boolean;
clickedFullscreenButton: boolean;
restoringAfterFullscreen: boolean;
defaultSeekInterval: number;
useFixedSeekInterval: boolean;
seekInterval: any;
showNowPlaying: boolean;
testFallback: number | boolean;
lang: any;
metaType: any;
metaDiv: any;
searchDiv: any;
searchString: any;
searchLang: any;
searchIgnoreCaps: boolean;
hideControls: boolean;
hideControlsOriginal: boolean;
stenoMode: boolean;
stenoFrameId: any;
$stenoFrame: any;
ableIndex: number;
title: any;
tt: {};
setup(): void;
initializing: boolean;
/**
* Removes this player from the global instance list.
*
* You probably want to call this during/after removing a player from the
* DOM. This avoids memory leaks, and allows the event handling to have the
* correct count of how many players are actually on the page.
*/
dispose(): void;
}
declare namespace AblePlayer {
export let nextIndex: number;
export function getActiveDOMElement(): Element;
export function localGetElementById(element: any, id: any): any;
export { ablePlayerSetupWindow };
export let youTubeIframeAPIReady: boolean;
export let loadingYouTubeIframeAPI: boolean;
export { ablePlayerInstances };
export function hasSingleInstance(): boolean;
export function getSingleInstance(): any;
}
/**
* Performs one-time setup on `window`.
*
* Does nothing if `window` is not available, for example in SSR.
*/
declare function ablePlayerSetupWindow(): void;
declare const ablePlayerInstances: Set<any>;
//# sourceMappingURL=ableplayer.esm.d.ts.map