PluginProbe ʕ •ᴥ•ʔ
Presto Player / 4.3.3
Presto Player v4.3.3
4.3.3 4.3.2 4.3.1 4.3.0 4.2.4 4.2.3 4.2.2 4.2.0 4.2.1 trunk 1.10.0 1.10.1 1.10.2 1.11.0 1.12.0 1.13.0 1.14.0 1.14.1 1.5.10 1.5.11 1.5.12 1.5.13 1.5.14 1.5.15 1.5.5 1.5.6 1.5.7 1.5.8 1.5.9 1.6.0 1.6.1 1.6.10 1.6.11 1.6.12 1.6.13 1.6.2 1.6.3 1.6.4 1.6.5 1.6.6 1.6.7 1.6.8 1.6.9 1.7.0 1.7.1 1.7.2 1.8.0 1.8.1 1.8.2 1.8.3 1.8.4 1.8.5 1.8.6 1.9.0 1.9.1 1.9.10 1.9.11 1.9.12 1.9.13 1.9.14 1.9.2 1.9.3 1.9.4 1.9.5 1.9.6 1.9.7 1.9.8 1.9.9 2.0.0 2.0.1 2.0.10 2.0.11 2.0.12 2.0.13 2.0.14 2.0.15 2.0.16 2.0.2 2.0.3 2.0.4 2.0.5 2.0.6 2.0.7 2.0.8 2.0.9 2.1.0 2.2.0 2.2.1 2.2.2 2.2.3 2.2.3-beta1 2.3.0 2.3.1 2.3.2 2.3.3 3.0.0 3.0.0-beta1 3.0.1 3.0.2 3.0.3 3.0.4 3.0.5 3.0.6 3.0.7 3.0.8 3.1.0 3.1.1 3.1.2 3.1.3 4.0.0 4.0.1 4.0.2 4.0.3 4.0.4 4.0.5 4.0.6 4.0.7 4.0.8 4.1.0 4.1.1 4.1.2 4.1.3 4.1.4
presto-player / dist / components / types / interfaces.d.ts
presto-player / dist / components / types Last commit date
components 6 days ago testing 2 years ago components.d.ts 4 months ago index.d.ts 5 years ago interfaces.d.ts 6 days ago stencil-public-runtime.d.ts 10 months ago util.d.ts 2 years ago
interfaces.d.ts
302 lines
1 declare global {
2 interface Window {
3 gapi: any;
4 wp: any;
5 jQuery: any;
6 prestoPlayerAdmin: {
7 i18n: i18nConfig;
8 };
9 prestoPlayer: {
10 debug: boolean;
11 debug_navigator: boolean;
12 ajaxurl: string;
13 nonce: string;
14 isPremium: string;
15 logged_in: boolean;
16 i18n: i18nConfig;
17 };
18 }
19 }
20 export interface i18nConfig extends Object {
21 startOver?: string;
22 upNext?: string;
23 rewatch: string;
24 next?: string;
25 emailPlaceholder?: string;
26 skip?: string;
27 emailDefaultHeadline?: string;
28 emailError?: string;
29 play: string;
30 }
31 export interface ActionBarConfig extends Object {
32 enabled: boolean;
33 percentage_start: number;
34 text: string;
35 background_color: string;
36 button_type: string;
37 button_radius: string;
38 button_text?: string;
39 button_color?: string;
40 button_count?: boolean;
41 button_link?: ButtonLinkObject;
42 button_text_color?: string;
43 }
44 export interface ButtonLinkObject extends Object {
45 id: string;
46 url: string;
47 type: string;
48 opensInNewTab: boolean;
49 }
50 export interface PlaylistItem extends Object {
51 id: number;
52 config: PrestoConfig;
53 duration: string;
54 title: string;
55 }
56 export interface PrestoConfig extends Object {
57 styles?: string;
58 type?: string;
59 preset?: presetAttributes;
60 autoplay?: boolean;
61 id?: number;
62 title?: string;
63 playerClass?: string;
64 blockAttributes?: blockAttributes;
65 chapters?: prestoChapters;
66 branding?: prestoBranding;
67 src?: string;
68 analytics?: boolean;
69 automations?: boolean;
70 provider?: string;
71 provider_video_id?: string;
72 isAdmin?: boolean;
73 save_player_position?: boolean;
74 ajaxProgress?: boolean;
75 youtube?: YoutubeConfig;
76 i18n?: i18nConfig;
77 search?: SearchBarConfig;
78 markers?: any;
79 storage?: {
80 enabled?: boolean;
81 key?: string;
82 };
83 }
84 export interface prestoChapters extends Object {
85 [index: number]: {
86 time: number;
87 title: string;
88 };
89 }
90 export interface DynamicOverlay extends Object {
91 key?: number;
92 startTime: string;
93 endTime: string;
94 text: string;
95 position: 'top-left' | 'top-right';
96 link?: {
97 url: string;
98 type?: string;
99 id?: number;
100 opensInNewTab?: boolean;
101 };
102 color: string;
103 backgroundColor: string;
104 opacity: number;
105 }
106 export interface blockAttributes extends Object {
107 color?: string;
108 id?: number;
109 title?: string;
110 src?: string;
111 poster?: string;
112 playsInline?: boolean;
113 autoplay?: boolean;
114 mutedPreview?: {
115 enabled?: boolean;
116 captions?: boolean;
117 };
118 mutedOverlay?: MutedOverlay;
119 ratio?: string;
120 }
121 export interface MutedOverlay extends Object {
122 enabled?: boolean;
123 width?: number;
124 src?: string;
125 focalPoint?: {
126 x: number;
127 y: number;
128 };
129 }
130 export interface YoutubeConfig extends Object {
131 noCookie?: boolean;
132 channelId?: string;
133 }
134 export interface presetAttributes extends Object {
135 id?: number;
136 lazy_load_youtube?: boolean;
137 after_video_action?: string;
138 hide_youtube?: boolean;
139 sticky_scroll?: boolean;
140 sticky_scroll_position?: string;
141 on_video_end?: string;
142 play?: boolean;
143 play_video_viewport?: boolean;
144 invert_time?: boolean;
145 skin?: string;
146 save_player_position?: boolean;
147 captions?: boolean;
148 captions_enabled?: boolean;
149 hide_logo?: boolean;
150 reset_on_end?: boolean;
151 auto_hide?: boolean;
152 show_time_elapsed?: boolean;
153 speed?: boolean;
154 background_color?: string;
155 caption_style?: string;
156 email_collection?: EmailCollection;
157 cta?: CTA;
158 watermark?: Watermark;
159 search?: Search;
160 action_bar?: ActionBarConfig;
161 }
162 export interface Search extends Object {
163 enabled?: boolean;
164 minMatchCharLength?: number;
165 threshold?: number;
166 placeholder?: string;
167 }
168 export interface Watermark extends Object {
169 enabled?: boolean;
170 text?: string;
171 backgroundColor?: string;
172 color?: string;
173 opacity?: number;
174 position?: 'top-left' | 'top-right' | 'randomize';
175 }
176 export interface SearchBarConfig extends Object {
177 showSearchResults?: boolean;
178 searchResults?: any;
179 }
180 export interface prestoBranding extends Object {
181 logo?: string;
182 logo_width?: number;
183 }
184 export interface CTA extends Object {
185 enabled?: boolean;
186 percentage?: number;
187 show_rewatch?: boolean;
188 show_skip?: boolean;
189 headline?: string;
190 show_button?: boolean;
191 bottom_text?: string;
192 button_color?: string;
193 background_opacity?: number;
194 button_text_color?: string;
195 button_text?: string;
196 button_link?: ButtonLinkObject;
197 button_radius?: number;
198 }
199 export interface EmailCollection extends Object {
200 enabled?: boolean;
201 percentage?: number;
202 allow_skip?: boolean;
203 headline?: string;
204 bottom_text?: string;
205 button_text?: string;
206 border_radius?: number;
207 button_text_color?: string;
208 button_color?: string;
209 }
210 interface OnVolumeChangeParam {
211 muted: boolean;
212 volume: number;
213 }
214 export interface PlyrProps {
215 id?: number;
216 type?: 'youtube' | 'vimeo' | 'video' | 'audio';
217 className?: string;
218 videoId?: string;
219 url?: string;
220 config: PrestoConfig;
221 on?: (eventName: string, event?: any) => void;
222 onReady?: (player?: any) => void;
223 onPlay?: () => void;
224 onPause?: () => void;
225 onEnd?: () => void;
226 onLoadedData?: () => void;
227 onSeeked?: (time?: number) => void;
228 onTimeUpdate?: (time?: number) => void;
229 onEnterFullscreen?: () => void;
230 onExitFullscreen?: () => void;
231 onVolumeChange?: (params: OnVolumeChangeParam) => void;
232 onCaptionsEnabled?: () => void;
233 onCaptionsDisabled?: () => void;
234 enabled?: boolean;
235 title?: string;
236 debug?: boolean;
237 autoplay?: boolean;
238 autopause?: boolean;
239 seekTime?: number;
240 volume?: number;
241 muted?: boolean;
242 duration?: number;
243 displayDuration?: boolean;
244 invertTime?: boolean;
245 toggleInvert?: boolean;
246 ratio?: string;
247 clickToPlay?: boolean;
248 hideControls?: boolean;
249 resetOnEnd?: boolean;
250 disableContextMenu?: boolean;
251 loadSprite?: boolean;
252 iconPrefix?: string;
253 iconUrl?: string;
254 icon_url?: string;
255 blankVideo?: string;
256 quality?: {
257 default?: string | number;
258 option?: string[] | number[];
259 };
260 loop?: {
261 active?: boolean;
262 };
263 speed?: {
264 selected?: number;
265 options?: number[];
266 };
267 keyboard?: {
268 focused?: boolean;
269 global?: boolean;
270 };
271 tooltips?: {
272 controls?: boolean;
273 seek?: boolean;
274 };
275 fullscreen?: {
276 enabled?: boolean;
277 fallback?: boolean;
278 iosNative?: boolean;
279 };
280 storage?: {
281 enabled?: boolean;
282 key?: string;
283 };
284 controls?: string[];
285 settings?: string[];
286 poster?: string;
287 sources?: Array<{
288 src: string;
289 type: string;
290 size?: string;
291 }>;
292 captions?: Array<{
293 kind?: string;
294 label?: string;
295 src: string;
296 srclang?: string;
297 default?: boolean;
298 key?: any;
299 }>;
300 }
301 export {};
302