@locpd/vidstack 1.12.14 → 1.12.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/analyze.json +15936 -0
- package/elements.json +57 -0
- package/package.json +1 -1
- package/solid.d.ts +2372 -0
- package/svelte.d.ts +2371 -0
- package/vscode.html-data.json +3678 -0
- package/vue.d.ts +1215 -0
package/svelte.d.ts
ADDED
|
@@ -0,0 +1,2371 @@
|
|
|
1
|
+
import type { MediaAnnouncerElement, MediaAirPlayButtonElement, MediaCaptionButtonElement, MediaFullscreenButtonElement, MediaGoogleCastButtonElement, MediaLiveButtonElement, MediaMuteButtonElement, MediaPIPButtonElement, MediaPlayButtonElement, MediaSeekButtonElement, MediaToggleButtonElement, MediaCaptionsElement, MediaChapterTitleElement, MediaControlsElement, MediaControlsGroupElement, MediaGestureElement, MediaAudioLayoutElement, MediaVideoLayoutElement, MediaLayoutElement, MediaPlyrLayoutElement, MediaAudioGainRadioGroupElement, MediaAudioRadioGroupElement, MediaCaptionsRadioGroupElement, MediaChaptersRadioGroupElement, MediaMenuButtonElement, MediaMenuElement, MediaMenuItemElement, MediaMenuItemsElement, MediaMenuPortalElement, MediaQualityRadioGroupElement, MediaRadioElement, MediaRadioGroupElement, MediaSpeedRadioGroupElement, MediaPlayerElement, MediaPosterElement, MediaProviderElement, MediaAudioGainSliderElement, MediaQualitySliderElement, MediaSliderChaptersElement, MediaSliderElement, MediaSliderPreviewElement, MediaSliderStepsElement, MediaSliderThumbnailElement, MediaSliderValueElement, MediaSliderVideoElement, MediaSpeedSliderElement, MediaTimeSliderElement, MediaVolumeSliderElement, MediaSpinnerElement, MediaThumbnailElement, MediaTimeElement, MediaTitleElement, MediaTooltipContentElement, MediaTooltipElement, MediaTooltipTriggerElement } from './elements';
|
|
2
|
+
import type { MediaAnnouncerProps, MediaAnnouncerEvents, AirPlayButtonProps, AirPlayButtonEvents, CaptionButtonProps, CaptionButtonEvents, FullscreenButtonProps, FullscreenButtonEvents, GoogleCastButtonProps, GoogleCastButtonEvents, LiveButtonProps, LiveButtonEvents, MuteButtonProps, MuteButtonEvents, PIPButtonProps, PIPButtonEvents, PlayButtonProps, PlayButtonEvents, SeekButtonProps, SeekButtonEvents, ToggleButtonProps, CaptionsProps, ChapterTitleProps, ControlsProps, ControlsEvents, GestureProps, GestureEvents, DefaultLayoutProps, MediaLayoutProps, PlyrLayoutProps, AudioGainRadioGroupProps, AudioGainRadioGroupEvents, AudioRadioGroupProps, AudioRadioGroupEvents, CaptionsRadioGroupProps, CaptionsRadioGroupEvents, ChapterRadioGroupProps, ChaptersRadioGroupEvents, MenuButtonProps, MenuButtonEvents, MenuProps, MenuEvents, MenuItemsProps, MenuPortalProps, QualityRadioGroupProps, QualityRadioGroupEvents, RadioProps, RadioEvents, RadioGroupProps, RadioGroupEvents, SpeedRadioGroupProps, SpeedRadioGroupEvents, MediaPlayerProps, MediaPlayerEvents, PosterProps, MediaProviderProps, AudioGainSliderProps, AudioGainSliderEvents, QualitySliderProps, QualitySliderEvents, SliderChaptersProps, SliderChaptersCSSVars, SliderProps, SliderEvents, SliderPreviewProps, ThumbnailProps, SliderValueProps, SliderVideoProps, SliderVideoEvents, SpeedSliderProps, SpeedSliderEvents, TimeSliderProps, TimeSliderEvents, VolumeSliderProps, VolumeSliderEvents, SpinnerProps, TimeProps, TooltipContentProps, TooltipProps } from './index';
|
|
3
|
+
import type { IconType } from './icons';
|
|
4
|
+
|
|
5
|
+
declare global {
|
|
6
|
+
namespace svelteHTML {
|
|
7
|
+
interface IntrinsicElements {
|
|
8
|
+
"media-announcer": MediaAnnouncerAttributes;
|
|
9
|
+
"media-airplay-button": MediaAirPlayButtonAttributes;
|
|
10
|
+
"media-caption-button": MediaCaptionButtonAttributes;
|
|
11
|
+
"media-fullscreen-button": MediaFullscreenButtonAttributes;
|
|
12
|
+
"media-google-cast-button": MediaGoogleCastButtonAttributes;
|
|
13
|
+
"media-live-button": MediaLiveButtonAttributes;
|
|
14
|
+
"media-mute-button": MediaMuteButtonAttributes;
|
|
15
|
+
"media-pip-button": MediaPIPButtonAttributes;
|
|
16
|
+
"media-play-button": MediaPlayButtonAttributes;
|
|
17
|
+
"media-seek-button": MediaSeekButtonAttributes;
|
|
18
|
+
"media-toggle-button": MediaToggleButtonAttributes;
|
|
19
|
+
"media-captions": MediaCaptionsAttributes;
|
|
20
|
+
"media-chapter-title": MediaChapterTitleAttributes;
|
|
21
|
+
"media-controls": MediaControlsAttributes;
|
|
22
|
+
"media-controls-group": MediaControlsGroupAttributes;
|
|
23
|
+
"media-gesture": MediaGestureAttributes;
|
|
24
|
+
"media-audio-layout": MediaAudioLayoutAttributes;
|
|
25
|
+
"media-video-layout": MediaVideoLayoutAttributes;
|
|
26
|
+
"media-layout": MediaLayoutAttributes;
|
|
27
|
+
"media-plyr-layout": MediaPlyrLayoutAttributes;
|
|
28
|
+
"media-audio-gain-radio-group": MediaAudioGainRadioGroupAttributes;
|
|
29
|
+
"media-audio-radio-group": MediaAudioRadioGroupAttributes;
|
|
30
|
+
"media-captions-radio-group": MediaCaptionsRadioGroupAttributes;
|
|
31
|
+
"media-chapters-radio-group": MediaChaptersRadioGroupAttributes;
|
|
32
|
+
"media-menu-button": MediaMenuButtonAttributes;
|
|
33
|
+
"media-menu": MediaMenuAttributes;
|
|
34
|
+
"media-menu-item": MediaMenuItemAttributes;
|
|
35
|
+
"media-menu-items": MediaMenuItemsAttributes;
|
|
36
|
+
"media-menu-portal": MediaMenuPortalAttributes;
|
|
37
|
+
"media-quality-radio-group": MediaQualityRadioGroupAttributes;
|
|
38
|
+
"media-radio": MediaRadioAttributes;
|
|
39
|
+
"media-radio-group": MediaRadioGroupAttributes;
|
|
40
|
+
"media-speed-radio-group": MediaSpeedRadioGroupAttributes;
|
|
41
|
+
"media-player": MediaPlayerAttributes;
|
|
42
|
+
"media-poster": MediaPosterAttributes;
|
|
43
|
+
"media-provider": MediaProviderAttributes;
|
|
44
|
+
"media-audio-gain-slider": MediaAudioGainSliderAttributes;
|
|
45
|
+
"media-quality-slider": MediaQualitySliderAttributes;
|
|
46
|
+
"media-slider-chapters": MediaSliderChaptersAttributes;
|
|
47
|
+
"media-slider": MediaSliderAttributes;
|
|
48
|
+
"media-slider-preview": MediaSliderPreviewAttributes;
|
|
49
|
+
"media-slider-steps": MediaSliderStepsAttributes;
|
|
50
|
+
"media-slider-thumbnail": MediaSliderThumbnailAttributes;
|
|
51
|
+
"media-slider-value": MediaSliderValueAttributes;
|
|
52
|
+
"media-slider-video": MediaSliderVideoAttributes;
|
|
53
|
+
"media-speed-slider": MediaSpeedSliderAttributes;
|
|
54
|
+
"media-time-slider": MediaTimeSliderAttributes;
|
|
55
|
+
"media-volume-slider": MediaVolumeSliderAttributes;
|
|
56
|
+
"media-spinner": MediaSpinnerAttributes;
|
|
57
|
+
"media-thumbnail": MediaThumbnailAttributes;
|
|
58
|
+
"media-time": MediaTimeAttributes;
|
|
59
|
+
"media-title": MediaTitleAttributes;
|
|
60
|
+
"media-tooltip-content": MediaTooltipContentAttributes;
|
|
61
|
+
"media-tooltip": MediaTooltipAttributes;
|
|
62
|
+
"media-tooltip-trigger": MediaTooltipTriggerAttributes;
|
|
63
|
+
"media-icon": import('svelte/elements').HTMLAttributes<HTMLElement> & { type: IconType }
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
export interface EventHandler<T> {
|
|
69
|
+
(event: T): void;
|
|
70
|
+
}
|
|
71
|
+
/**********************************************************************************************
|
|
72
|
+
* MediaAnnouncer
|
|
73
|
+
/**********************************************************************************************/
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
export interface MediaAnnouncerAttributes extends Partial<MediaAnnouncerProps>, MediaAnnouncerEventAttributes, Omit<import('svelte/elements').HTMLAttributes<MediaAnnouncerElement>, keyof MediaAnnouncerProps | keyof MediaAnnouncerEventAttributes | "is"> {
|
|
77
|
+
'keep-alive'?: boolean;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
export interface MediaAnnouncerEventAttributes {
|
|
81
|
+
"on:change"?: EventHandler<MediaAnnouncerEvents['change']>;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
/**********************************************************************************************
|
|
85
|
+
* MediaAirPlayButton
|
|
86
|
+
/**********************************************************************************************/
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
export interface MediaAirPlayButtonAttributes extends Partial<AirPlayButtonProps>, MediaAirPlayButtonEventAttributes, Omit<import('svelte/elements').HTMLAttributes<MediaAirPlayButtonElement>, keyof AirPlayButtonProps | keyof MediaAirPlayButtonEventAttributes | "is"> {
|
|
90
|
+
'keep-alive'?: boolean;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
export interface MediaAirPlayButtonEventAttributes {
|
|
94
|
+
/**
|
|
95
|
+
Fired when requesting the AirPlay picker to open.
|
|
96
|
+
undefined
|
|
97
|
+
*/
|
|
98
|
+
"on:media-airplay-request"?: EventHandler<AirPlayButtonEvents['media-airplay-request']>;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
/**********************************************************************************************
|
|
102
|
+
* MediaCaptionButton
|
|
103
|
+
/**********************************************************************************************/
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
export interface MediaCaptionButtonAttributes extends Partial<CaptionButtonProps>, MediaCaptionButtonEventAttributes, Omit<import('svelte/elements').HTMLAttributes<MediaCaptionButtonElement>, keyof CaptionButtonProps | keyof MediaCaptionButtonEventAttributes | "is"> {
|
|
107
|
+
'keep-alive'?: boolean;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
export interface MediaCaptionButtonEventAttributes {
|
|
111
|
+
/**
|
|
112
|
+
Fired when requesting to change the `mode` on a text track at the given index in the
|
|
113
|
+
`TextTrackList` on the player.
|
|
114
|
+
undefined
|
|
115
|
+
*/
|
|
116
|
+
"on:media-text-track-change-request"?: EventHandler<CaptionButtonEvents['media-text-track-change-request']>;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
/**********************************************************************************************
|
|
120
|
+
* MediaFullscreenButton
|
|
121
|
+
/**********************************************************************************************/
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
export interface MediaFullscreenButtonAttributes extends Partial<FullscreenButtonProps>, MediaFullscreenButtonEventAttributes, Omit<import('svelte/elements').HTMLAttributes<MediaFullscreenButtonElement>, keyof FullscreenButtonProps | keyof MediaFullscreenButtonEventAttributes | "is"> {
|
|
125
|
+
'keep-alive'?: boolean;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
export interface MediaFullscreenButtonEventAttributes {
|
|
129
|
+
/**
|
|
130
|
+
Fired when requesting media to enter fullscreen. The event `detail` can specify the
|
|
131
|
+
fullscreen target, which can be the media or provider (defaults to `prefer-media`).
|
|
132
|
+
undefined
|
|
133
|
+
*/
|
|
134
|
+
"on:media-enter-fullscreen-request"?: EventHandler<FullscreenButtonEvents['media-enter-fullscreen-request']>;
|
|
135
|
+
/**
|
|
136
|
+
Fired when requesting media to exit fullscreen. The event `detail` can specify the fullscreen
|
|
137
|
+
target, which can be the media or provider (defaults to `prefer-media`).
|
|
138
|
+
undefined
|
|
139
|
+
*/
|
|
140
|
+
"on:media-exit-fullscreen-request"?: EventHandler<FullscreenButtonEvents['media-exit-fullscreen-request']>;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
/**********************************************************************************************
|
|
144
|
+
* MediaGoogleCastButton
|
|
145
|
+
/**********************************************************************************************/
|
|
146
|
+
|
|
147
|
+
|
|
148
|
+
export interface MediaGoogleCastButtonAttributes extends Partial<GoogleCastButtonProps>, MediaGoogleCastButtonEventAttributes, Omit<import('svelte/elements').HTMLAttributes<MediaGoogleCastButtonElement>, keyof GoogleCastButtonProps | keyof MediaGoogleCastButtonEventAttributes | "is"> {
|
|
149
|
+
'keep-alive'?: boolean;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
export interface MediaGoogleCastButtonEventAttributes {
|
|
153
|
+
/**
|
|
154
|
+
Fired when requesting Google Cast.
|
|
155
|
+
undefined
|
|
156
|
+
*/
|
|
157
|
+
"on:media-google-cast-request"?: EventHandler<GoogleCastButtonEvents['media-google-cast-request']>;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
/**********************************************************************************************
|
|
161
|
+
* MediaLiveButton
|
|
162
|
+
/**********************************************************************************************/
|
|
163
|
+
|
|
164
|
+
|
|
165
|
+
export interface MediaLiveButtonAttributes extends Partial<LiveButtonProps>, MediaLiveButtonEventAttributes, Omit<import('svelte/elements').HTMLAttributes<MediaLiveButtonElement>, keyof LiveButtonProps | keyof MediaLiveButtonEventAttributes | "is"> {
|
|
166
|
+
'keep-alive'?: boolean;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
export interface MediaLiveButtonEventAttributes {
|
|
170
|
+
/**
|
|
171
|
+
Fired when requesting media to seek to the live edge (i.e., set the current time to the current
|
|
172
|
+
live time).
|
|
173
|
+
undefined
|
|
174
|
+
*/
|
|
175
|
+
"on:media-live-edge-request"?: EventHandler<LiveButtonEvents['media-live-edge-request']>;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
/**********************************************************************************************
|
|
179
|
+
* MediaMuteButton
|
|
180
|
+
/**********************************************************************************************/
|
|
181
|
+
|
|
182
|
+
|
|
183
|
+
export interface MediaMuteButtonAttributes extends Partial<MuteButtonProps>, MediaMuteButtonEventAttributes, Omit<import('svelte/elements').HTMLAttributes<MediaMuteButtonElement>, keyof MuteButtonProps | keyof MediaMuteButtonEventAttributes | "is"> {
|
|
184
|
+
'keep-alive'?: boolean;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
export interface MediaMuteButtonEventAttributes {
|
|
188
|
+
/**
|
|
189
|
+
Fired when requesting the media to be muted.
|
|
190
|
+
undefined
|
|
191
|
+
*/
|
|
192
|
+
"on:media-mute-request"?: EventHandler<MuteButtonEvents['media-mute-request']>;
|
|
193
|
+
/**
|
|
194
|
+
Fired when requesting the media to be unmuted.
|
|
195
|
+
undefined
|
|
196
|
+
*/
|
|
197
|
+
"on:media-unmute-request"?: EventHandler<MuteButtonEvents['media-unmute-request']>;
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
/**********************************************************************************************
|
|
201
|
+
* MediaPIPButton
|
|
202
|
+
/**********************************************************************************************/
|
|
203
|
+
|
|
204
|
+
|
|
205
|
+
export interface MediaPIPButtonAttributes extends Partial<PIPButtonProps>, MediaPIPButtonEventAttributes, Omit<import('svelte/elements').HTMLAttributes<MediaPIPButtonElement>, keyof PIPButtonProps | keyof MediaPIPButtonEventAttributes | "is"> {
|
|
206
|
+
'keep-alive'?: boolean;
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
export interface MediaPIPButtonEventAttributes {
|
|
210
|
+
/**
|
|
211
|
+
Fired when requesting media to enter picture-in-picture mode.
|
|
212
|
+
undefined
|
|
213
|
+
*/
|
|
214
|
+
"on:media-enter-pip-request"?: EventHandler<PIPButtonEvents['media-enter-pip-request']>;
|
|
215
|
+
/**
|
|
216
|
+
Fired when requesting media to exit picture-in-picture mode.
|
|
217
|
+
undefined
|
|
218
|
+
*/
|
|
219
|
+
"on:media-exit-pip-request"?: EventHandler<PIPButtonEvents['media-exit-pip-request']>;
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
/**********************************************************************************************
|
|
223
|
+
* MediaPlayButton
|
|
224
|
+
/**********************************************************************************************/
|
|
225
|
+
|
|
226
|
+
|
|
227
|
+
export interface MediaPlayButtonAttributes extends Partial<PlayButtonProps>, MediaPlayButtonEventAttributes, Omit<import('svelte/elements').HTMLAttributes<MediaPlayButtonElement>, keyof PlayButtonProps | keyof MediaPlayButtonEventAttributes | "is"> {
|
|
228
|
+
'keep-alive'?: boolean;
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
export interface MediaPlayButtonEventAttributes {
|
|
232
|
+
/**
|
|
233
|
+
Fired when requesting media playback to begin/resume.
|
|
234
|
+
undefined
|
|
235
|
+
*/
|
|
236
|
+
"on:media-play-request"?: EventHandler<PlayButtonEvents['media-play-request']>;
|
|
237
|
+
/**
|
|
238
|
+
Fired when requesting media playback to temporarily stop.
|
|
239
|
+
undefined
|
|
240
|
+
*/
|
|
241
|
+
"on:media-pause-request"?: EventHandler<PlayButtonEvents['media-pause-request']>;
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
/**********************************************************************************************
|
|
245
|
+
* MediaSeekButton
|
|
246
|
+
/**********************************************************************************************/
|
|
247
|
+
|
|
248
|
+
|
|
249
|
+
export interface MediaSeekButtonAttributes extends Partial<SeekButtonProps>, MediaSeekButtonEventAttributes, Omit<import('svelte/elements').HTMLAttributes<MediaSeekButtonElement>, keyof SeekButtonProps | keyof MediaSeekButtonEventAttributes | "is"> {
|
|
250
|
+
'keep-alive'?: boolean;
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
export interface MediaSeekButtonEventAttributes {
|
|
254
|
+
/**
|
|
255
|
+
Fired when requesting a time change. In other words, moving the play head to a new position.
|
|
256
|
+
@detail seekTo
|
|
257
|
+
*/
|
|
258
|
+
"on:media-seek-request"?: EventHandler<SeekButtonEvents['media-seek-request']>;
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
/**********************************************************************************************
|
|
262
|
+
* MediaToggleButton
|
|
263
|
+
/**********************************************************************************************/
|
|
264
|
+
|
|
265
|
+
|
|
266
|
+
export interface MediaToggleButtonAttributes extends Partial<ToggleButtonProps>, Omit<import('svelte/elements').HTMLAttributes<MediaToggleButtonElement>, keyof ToggleButtonProps | "is"> {
|
|
267
|
+
'keep-alive'?: boolean;
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
|
|
271
|
+
/**********************************************************************************************
|
|
272
|
+
* MediaCaptions
|
|
273
|
+
/**********************************************************************************************/
|
|
274
|
+
|
|
275
|
+
|
|
276
|
+
export interface MediaCaptionsAttributes extends Partial<CaptionsProps>, Omit<import('svelte/elements').HTMLAttributes<MediaCaptionsElement>, keyof CaptionsProps | "is"> {
|
|
277
|
+
'keep-alive'?: boolean;
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
|
|
281
|
+
/**********************************************************************************************
|
|
282
|
+
* MediaChapterTitle
|
|
283
|
+
/**********************************************************************************************/
|
|
284
|
+
|
|
285
|
+
|
|
286
|
+
export interface MediaChapterTitleAttributes extends Partial<ChapterTitleProps>, Omit<import('svelte/elements').HTMLAttributes<MediaChapterTitleElement>, keyof ChapterTitleProps | "is"> {
|
|
287
|
+
'keep-alive'?: boolean;
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
|
|
291
|
+
/**********************************************************************************************
|
|
292
|
+
* MediaControls
|
|
293
|
+
/**********************************************************************************************/
|
|
294
|
+
|
|
295
|
+
|
|
296
|
+
export interface MediaControlsAttributes extends Partial<ControlsProps>, MediaControlsEventAttributes, Omit<import('svelte/elements').HTMLAttributes<MediaControlsElement>, keyof ControlsProps | keyof MediaControlsEventAttributes | "is"> {
|
|
297
|
+
'keep-alive'?: boolean;
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
export interface MediaControlsEventAttributes {
|
|
301
|
+
/**
|
|
302
|
+
Fired when the active state of the controls change.
|
|
303
|
+
@detail isVisible
|
|
304
|
+
*/
|
|
305
|
+
"on:change"?: EventHandler<ControlsEvents['change']>;
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
/**********************************************************************************************
|
|
309
|
+
* MediaControlsGroup
|
|
310
|
+
/**********************************************************************************************/
|
|
311
|
+
|
|
312
|
+
|
|
313
|
+
export interface MediaControlsGroupAttributes extends Omit<import('svelte/elements').HTMLAttributes<MediaControlsGroupElement>, "is"> {
|
|
314
|
+
'keep-alive'?: boolean;
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
|
|
318
|
+
/**********************************************************************************************
|
|
319
|
+
* MediaGesture
|
|
320
|
+
/**********************************************************************************************/
|
|
321
|
+
|
|
322
|
+
|
|
323
|
+
export interface MediaGestureAttributes extends Partial<GestureProps>, MediaGestureEventAttributes, Omit<import('svelte/elements').HTMLAttributes<MediaGestureElement>, keyof GestureProps | keyof MediaGestureEventAttributes | "is"> {
|
|
324
|
+
'keep-alive'?: boolean;
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
export interface MediaGestureEventAttributes {
|
|
328
|
+
/**
|
|
329
|
+
This event will fire before the gesture action is triggered. Calling `event.preventDefault()`
|
|
330
|
+
will stop the action from being triggered.
|
|
331
|
+
@detail action
|
|
332
|
+
@cancelable undefined
|
|
333
|
+
*/
|
|
334
|
+
"on:will-trigger"?: EventHandler<GestureEvents['will-trigger']>;
|
|
335
|
+
/**
|
|
336
|
+
This event will fire after the gesture action has been triggered.
|
|
337
|
+
@detail action
|
|
338
|
+
*/
|
|
339
|
+
"on:trigger"?: EventHandler<GestureEvents['trigger']>;
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
/**********************************************************************************************
|
|
343
|
+
* MediaAudioLayout
|
|
344
|
+
/**********************************************************************************************/
|
|
345
|
+
|
|
346
|
+
|
|
347
|
+
export interface MediaAudioLayoutAttributes extends Partial<DefaultLayoutProps>, Omit<import('svelte/elements').HTMLAttributes<MediaAudioLayoutElement>, keyof DefaultLayoutProps | "is"> {
|
|
348
|
+
'keep-alive'?: boolean;
|
|
349
|
+
}
|
|
350
|
+
|
|
351
|
+
|
|
352
|
+
/**********************************************************************************************
|
|
353
|
+
* MediaVideoLayout
|
|
354
|
+
/**********************************************************************************************/
|
|
355
|
+
|
|
356
|
+
|
|
357
|
+
export interface MediaVideoLayoutAttributes extends Partial<DefaultLayoutProps>, Omit<import('svelte/elements').HTMLAttributes<MediaVideoLayoutElement>, keyof DefaultLayoutProps | "is"> {
|
|
358
|
+
'keep-alive'?: boolean;
|
|
359
|
+
}
|
|
360
|
+
|
|
361
|
+
|
|
362
|
+
/**********************************************************************************************
|
|
363
|
+
* MediaLayout
|
|
364
|
+
/**********************************************************************************************/
|
|
365
|
+
|
|
366
|
+
|
|
367
|
+
export interface MediaLayoutAttributes extends Partial<MediaLayoutProps>, Omit<import('svelte/elements').HTMLAttributes<MediaLayoutElement>, keyof MediaLayoutProps | "is"> {
|
|
368
|
+
'keep-alive'?: boolean;
|
|
369
|
+
}
|
|
370
|
+
|
|
371
|
+
|
|
372
|
+
/**********************************************************************************************
|
|
373
|
+
* MediaPlyrLayout
|
|
374
|
+
/**********************************************************************************************/
|
|
375
|
+
|
|
376
|
+
|
|
377
|
+
export interface MediaPlyrLayoutAttributes extends Partial<PlyrLayoutProps>, Omit<import('svelte/elements').HTMLAttributes<MediaPlyrLayoutElement>, keyof PlyrLayoutProps | "is"> {
|
|
378
|
+
'keep-alive'?: boolean;
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
|
|
382
|
+
/**********************************************************************************************
|
|
383
|
+
* MediaAudioGainRadioGroup
|
|
384
|
+
/**********************************************************************************************/
|
|
385
|
+
|
|
386
|
+
|
|
387
|
+
export interface MediaAudioGainRadioGroupAttributes extends Partial<AudioGainRadioGroupProps>, MediaAudioGainRadioGroupEventAttributes, Omit<import('svelte/elements').HTMLAttributes<MediaAudioGainRadioGroupElement>, keyof AudioGainRadioGroupProps | keyof MediaAudioGainRadioGroupEventAttributes | "is"> {
|
|
388
|
+
'keep-alive'?: boolean;
|
|
389
|
+
}
|
|
390
|
+
|
|
391
|
+
export interface MediaAudioGainRadioGroupEventAttributes {
|
|
392
|
+
/**
|
|
393
|
+
Fired when the checked radio changes.
|
|
394
|
+
@detail gain
|
|
395
|
+
*/
|
|
396
|
+
"on:change"?: EventHandler<AudioGainRadioGroupEvents['change']>;
|
|
397
|
+
}
|
|
398
|
+
|
|
399
|
+
/**********************************************************************************************
|
|
400
|
+
* MediaAudioRadioGroup
|
|
401
|
+
/**********************************************************************************************/
|
|
402
|
+
|
|
403
|
+
|
|
404
|
+
export interface MediaAudioRadioGroupAttributes extends Partial<AudioRadioGroupProps>, MediaAudioRadioGroupEventAttributes, Omit<import('svelte/elements').HTMLAttributes<MediaAudioRadioGroupElement>, keyof AudioRadioGroupProps | keyof MediaAudioRadioGroupEventAttributes | "is"> {
|
|
405
|
+
'keep-alive'?: boolean;
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
export interface MediaAudioRadioGroupEventAttributes {
|
|
409
|
+
/**
|
|
410
|
+
Fired when the checked radio changes.
|
|
411
|
+
@detail track
|
|
412
|
+
*/
|
|
413
|
+
"on:change"?: EventHandler<AudioRadioGroupEvents['change']>;
|
|
414
|
+
}
|
|
415
|
+
|
|
416
|
+
/**********************************************************************************************
|
|
417
|
+
* MediaCaptionsRadioGroup
|
|
418
|
+
/**********************************************************************************************/
|
|
419
|
+
|
|
420
|
+
|
|
421
|
+
export interface MediaCaptionsRadioGroupAttributes extends Partial<CaptionsRadioGroupProps>, MediaCaptionsRadioGroupEventAttributes, Omit<import('svelte/elements').HTMLAttributes<MediaCaptionsRadioGroupElement>, keyof CaptionsRadioGroupProps | keyof MediaCaptionsRadioGroupEventAttributes | "is"> {
|
|
422
|
+
'keep-alive'?: boolean;
|
|
423
|
+
}
|
|
424
|
+
|
|
425
|
+
export interface MediaCaptionsRadioGroupEventAttributes {
|
|
426
|
+
/**
|
|
427
|
+
Fired when the checked radio changes. The event detail will be `null` when no track is selected
|
|
428
|
+
or captions are turned off.
|
|
429
|
+
@detail track
|
|
430
|
+
*/
|
|
431
|
+
"on:change"?: EventHandler<CaptionsRadioGroupEvents['change']>;
|
|
432
|
+
}
|
|
433
|
+
|
|
434
|
+
/**********************************************************************************************
|
|
435
|
+
* MediaChaptersRadioGroup
|
|
436
|
+
/**********************************************************************************************/
|
|
437
|
+
|
|
438
|
+
|
|
439
|
+
export interface MediaChaptersRadioGroupAttributes extends Partial<ChapterRadioGroupProps>, MediaChaptersRadioGroupEventAttributes, Omit<import('svelte/elements').HTMLAttributes<MediaChaptersRadioGroupElement>, keyof ChapterRadioGroupProps | keyof MediaChaptersRadioGroupEventAttributes | "is"> {
|
|
440
|
+
'keep-alive'?: boolean;
|
|
441
|
+
}
|
|
442
|
+
|
|
443
|
+
export interface MediaChaptersRadioGroupEventAttributes {
|
|
444
|
+
/**
|
|
445
|
+
Fired when the checked radio changes.
|
|
446
|
+
@detail cue
|
|
447
|
+
*/
|
|
448
|
+
"on:change"?: EventHandler<ChaptersRadioGroupEvents['change']>;
|
|
449
|
+
}
|
|
450
|
+
|
|
451
|
+
/**********************************************************************************************
|
|
452
|
+
* MediaMenuButton
|
|
453
|
+
/**********************************************************************************************/
|
|
454
|
+
|
|
455
|
+
|
|
456
|
+
export interface MediaMenuButtonAttributes extends Partial<MenuButtonProps>, MediaMenuButtonEventAttributes, Omit<import('svelte/elements').HTMLAttributes<MediaMenuButtonElement>, keyof MenuButtonProps | keyof MediaMenuButtonEventAttributes | "is"> {
|
|
457
|
+
'keep-alive'?: boolean;
|
|
458
|
+
}
|
|
459
|
+
|
|
460
|
+
export interface MediaMenuButtonEventAttributes {
|
|
461
|
+
/**
|
|
462
|
+
Fired when the button is pressed via mouse, touch, or keyboard.
|
|
463
|
+
undefined
|
|
464
|
+
*/
|
|
465
|
+
"on:select"?: EventHandler<MenuButtonEvents['select']>;
|
|
466
|
+
}
|
|
467
|
+
|
|
468
|
+
/**********************************************************************************************
|
|
469
|
+
* MediaMenu
|
|
470
|
+
/**********************************************************************************************/
|
|
471
|
+
|
|
472
|
+
|
|
473
|
+
export interface MediaMenuAttributes extends Partial<MenuProps>, MediaMenuEventAttributes, Omit<import('svelte/elements').HTMLAttributes<MediaMenuElement>, keyof MenuProps | keyof MediaMenuEventAttributes | "is"> {
|
|
474
|
+
'keep-alive'?: boolean;
|
|
475
|
+
}
|
|
476
|
+
|
|
477
|
+
export interface MediaMenuEventAttributes {
|
|
478
|
+
/**
|
|
479
|
+
Fired when the menu is opened.
|
|
480
|
+
undefined
|
|
481
|
+
*/
|
|
482
|
+
"on:open"?: EventHandler<MenuEvents['open']>;
|
|
483
|
+
/**
|
|
484
|
+
Fired when the menu is closed.
|
|
485
|
+
undefined
|
|
486
|
+
*/
|
|
487
|
+
"on:close"?: EventHandler<MenuEvents['close']>;
|
|
488
|
+
/**
|
|
489
|
+
Fired when controls visibility tracking should pause. This is typically used when a control
|
|
490
|
+
is being actively interacted with, and we don't want the controls to be hidden before
|
|
491
|
+
the interaction is complete (eg: scrubbing, or settings is open).
|
|
492
|
+
undefined
|
|
493
|
+
*/
|
|
494
|
+
"on:media-pause-controls-request"?: EventHandler<MenuEvents['media-pause-controls-request']>;
|
|
495
|
+
/**
|
|
496
|
+
Fired when controls visibility tracking may resume. This is typically called after requesting
|
|
497
|
+
tracking to pause via `media-pause-controls-request`.
|
|
498
|
+
undefined
|
|
499
|
+
*/
|
|
500
|
+
"on:media-resume-controls-request"?: EventHandler<MenuEvents['media-resume-controls-request']>;
|
|
501
|
+
}
|
|
502
|
+
|
|
503
|
+
/**********************************************************************************************
|
|
504
|
+
* MediaMenuItem
|
|
505
|
+
/**********************************************************************************************/
|
|
506
|
+
|
|
507
|
+
|
|
508
|
+
export interface MediaMenuItemAttributes extends Partial<MenuButtonProps>, MediaMenuItemEventAttributes, Omit<import('svelte/elements').HTMLAttributes<MediaMenuItemElement>, keyof MenuButtonProps | keyof MediaMenuItemEventAttributes | "is"> {
|
|
509
|
+
'keep-alive'?: boolean;
|
|
510
|
+
}
|
|
511
|
+
|
|
512
|
+
export interface MediaMenuItemEventAttributes {
|
|
513
|
+
/**
|
|
514
|
+
Fired when the button is pressed via mouse, touch, or keyboard.
|
|
515
|
+
undefined
|
|
516
|
+
*/
|
|
517
|
+
"on:select"?: EventHandler<MenuButtonEvents['select']>;
|
|
518
|
+
}
|
|
519
|
+
|
|
520
|
+
/**********************************************************************************************
|
|
521
|
+
* MediaMenuItems
|
|
522
|
+
/**********************************************************************************************/
|
|
523
|
+
|
|
524
|
+
|
|
525
|
+
export interface MediaMenuItemsAttributes extends Partial<MenuItemsProps>, Omit<import('svelte/elements').HTMLAttributes<MediaMenuItemsElement>, keyof MenuItemsProps | "is"> {
|
|
526
|
+
'keep-alive'?: boolean;
|
|
527
|
+
}
|
|
528
|
+
|
|
529
|
+
|
|
530
|
+
/**********************************************************************************************
|
|
531
|
+
* MediaMenuPortal
|
|
532
|
+
/**********************************************************************************************/
|
|
533
|
+
|
|
534
|
+
|
|
535
|
+
export interface MediaMenuPortalAttributes extends Partial<MenuPortalProps>, Omit<import('svelte/elements').HTMLAttributes<MediaMenuPortalElement>, keyof MenuPortalProps | "is"> {
|
|
536
|
+
'keep-alive'?: boolean;
|
|
537
|
+
}
|
|
538
|
+
|
|
539
|
+
|
|
540
|
+
/**********************************************************************************************
|
|
541
|
+
* MediaQualityRadioGroup
|
|
542
|
+
/**********************************************************************************************/
|
|
543
|
+
|
|
544
|
+
|
|
545
|
+
export interface MediaQualityRadioGroupAttributes extends Partial<QualityRadioGroupProps>, MediaQualityRadioGroupEventAttributes, Omit<import('svelte/elements').HTMLAttributes<MediaQualityRadioGroupElement>, keyof QualityRadioGroupProps | keyof MediaQualityRadioGroupEventAttributes | "is"> {
|
|
546
|
+
'keep-alive'?: boolean;
|
|
547
|
+
}
|
|
548
|
+
|
|
549
|
+
export interface MediaQualityRadioGroupEventAttributes {
|
|
550
|
+
/**
|
|
551
|
+
Fired when the checked radio changes.
|
|
552
|
+
@detail quality
|
|
553
|
+
*/
|
|
554
|
+
"on:change"?: EventHandler<QualityRadioGroupEvents['change']>;
|
|
555
|
+
}
|
|
556
|
+
|
|
557
|
+
/**********************************************************************************************
|
|
558
|
+
* MediaRadio
|
|
559
|
+
/**********************************************************************************************/
|
|
560
|
+
|
|
561
|
+
|
|
562
|
+
export interface MediaRadioAttributes extends Partial<RadioProps>, MediaRadioEventAttributes, Omit<import('svelte/elements').HTMLAttributes<MediaRadioElement>, keyof RadioProps | keyof MediaRadioEventAttributes | "is"> {
|
|
563
|
+
'keep-alive'?: boolean;
|
|
564
|
+
}
|
|
565
|
+
|
|
566
|
+
export interface MediaRadioEventAttributes {
|
|
567
|
+
/**
|
|
568
|
+
Fired when the radio's checked value changes.
|
|
569
|
+
@detail isSelected
|
|
570
|
+
*/
|
|
571
|
+
"on:change"?: EventHandler<RadioEvents['change']>;
|
|
572
|
+
/**
|
|
573
|
+
Fired when the radio is pressed via mouse, touch, or, keyboard. This will not fire if the radio
|
|
574
|
+
is programmatically selected.
|
|
575
|
+
undefined
|
|
576
|
+
*/
|
|
577
|
+
"on:select"?: EventHandler<RadioEvents['select']>;
|
|
578
|
+
}
|
|
579
|
+
|
|
580
|
+
/**********************************************************************************************
|
|
581
|
+
* MediaRadioGroup
|
|
582
|
+
/**********************************************************************************************/
|
|
583
|
+
|
|
584
|
+
|
|
585
|
+
export interface MediaRadioGroupAttributes extends Partial<RadioGroupProps>, MediaRadioGroupEventAttributes, Omit<import('svelte/elements').HTMLAttributes<MediaRadioGroupElement>, keyof RadioGroupProps | keyof MediaRadioGroupEventAttributes | "is"> {
|
|
586
|
+
'keep-alive'?: boolean;
|
|
587
|
+
}
|
|
588
|
+
|
|
589
|
+
export interface MediaRadioGroupEventAttributes {
|
|
590
|
+
/**
|
|
591
|
+
Fired when the checked radio changes.
|
|
592
|
+
@detail value
|
|
593
|
+
*/
|
|
594
|
+
"on:change"?: EventHandler<RadioGroupEvents['change']>;
|
|
595
|
+
}
|
|
596
|
+
|
|
597
|
+
/**********************************************************************************************
|
|
598
|
+
* MediaSpeedRadioGroup
|
|
599
|
+
/**********************************************************************************************/
|
|
600
|
+
|
|
601
|
+
|
|
602
|
+
export interface MediaSpeedRadioGroupAttributes extends Partial<SpeedRadioGroupProps>, MediaSpeedRadioGroupEventAttributes, Omit<import('svelte/elements').HTMLAttributes<MediaSpeedRadioGroupElement>, keyof SpeedRadioGroupProps | keyof MediaSpeedRadioGroupEventAttributes | "is"> {
|
|
603
|
+
'keep-alive'?: boolean;
|
|
604
|
+
}
|
|
605
|
+
|
|
606
|
+
export interface MediaSpeedRadioGroupEventAttributes {
|
|
607
|
+
/**
|
|
608
|
+
Fired when the checked radio changes.
|
|
609
|
+
@detail speed
|
|
610
|
+
*/
|
|
611
|
+
"on:change"?: EventHandler<SpeedRadioGroupEvents['change']>;
|
|
612
|
+
}
|
|
613
|
+
|
|
614
|
+
/**********************************************************************************************
|
|
615
|
+
* MediaPlayer
|
|
616
|
+
/**********************************************************************************************/
|
|
617
|
+
|
|
618
|
+
|
|
619
|
+
export interface MediaPlayerAttributes extends Partial<MediaPlayerProps>, MediaPlayerEventAttributes, Omit<import('svelte/elements').HTMLAttributes<MediaPlayerElement>, keyof MediaPlayerProps | keyof MediaPlayerEventAttributes | "is"> {
|
|
620
|
+
'keep-alive'?: boolean;
|
|
621
|
+
}
|
|
622
|
+
|
|
623
|
+
export interface MediaPlayerEventAttributes {
|
|
624
|
+
/**
|
|
625
|
+
Fired when the player element `<media-player>` connects to the DOM.
|
|
626
|
+
@detail player
|
|
627
|
+
*/
|
|
628
|
+
"on:media-player-connect"?: EventHandler<MediaPlayerEvents['media-player-connect']>;
|
|
629
|
+
"on:find-media-player"?: EventHandler<MediaPlayerEvents['find-media-player']>;
|
|
630
|
+
/**
|
|
631
|
+
The **`Event`** interface represents an event which takes place on an `EventTarget`.
|
|
632
|
+
|
|
633
|
+
[MDN Reference](https://developer.mozilla.org/docs/Web/API/Event)
|
|
634
|
+
undefined
|
|
635
|
+
*/
|
|
636
|
+
"on:vds-font-change"?: EventHandler<MediaPlayerEvents['vds-font-change']>;
|
|
637
|
+
/**
|
|
638
|
+
Fired when an audio track has been added or removed.
|
|
639
|
+
@detail audioTrack
|
|
640
|
+
*/
|
|
641
|
+
"on:audio-tracks-change"?: EventHandler<MediaPlayerEvents['audio-tracks-change']>;
|
|
642
|
+
/**
|
|
643
|
+
Fired when the current audio track changes.
|
|
644
|
+
@detail audioTrack
|
|
645
|
+
*/
|
|
646
|
+
"on:audio-track-change"?: EventHandler<MediaPlayerEvents['audio-track-change']>;
|
|
647
|
+
/**
|
|
648
|
+
Fired when the audio gain has changed. The event `detail` contains the new gain.
|
|
649
|
+
@detail gain
|
|
650
|
+
*/
|
|
651
|
+
"on:audio-gain-change"?: EventHandler<MediaPlayerEvents['audio-gain-change']>;
|
|
652
|
+
/**
|
|
653
|
+
Fired when the `autoPlay` property has changed value.
|
|
654
|
+
@detail shouldAutoPlay
|
|
655
|
+
*/
|
|
656
|
+
"on:auto-play-change"?: EventHandler<MediaPlayerEvents['auto-play-change']>;
|
|
657
|
+
/**
|
|
658
|
+
Fired when an auto-play attempt has failed. The event detail contains the error that
|
|
659
|
+
had occurred on the last auto-play attempt which caused it to fail.
|
|
660
|
+
undefined
|
|
661
|
+
*/
|
|
662
|
+
"on:auto-play-fail"?: EventHandler<MediaPlayerEvents['auto-play-fail']>;
|
|
663
|
+
/**
|
|
664
|
+
Fired when the player can begin loading the current provider and media. This depends on the
|
|
665
|
+
`load` player prop.
|
|
666
|
+
@see https://vidstack.io/docs/player/core-concepts/loading#load-strategies
|
|
667
|
+
*/
|
|
668
|
+
"on:can-load"?: EventHandler<MediaPlayerEvents['can-load']>;
|
|
669
|
+
/**
|
|
670
|
+
Fired when the player can begin loading the poster image. This depends on the `posterLoad`
|
|
671
|
+
player prop.
|
|
672
|
+
@see https://vidstack.io/docs/player/core-concepts/loading#load-strategies
|
|
673
|
+
*/
|
|
674
|
+
"on:can-load-poster"?: EventHandler<MediaPlayerEvents['can-load-poster']>;
|
|
675
|
+
/**
|
|
676
|
+
Fired when the user agent can play the media, and estimates that **enough** data has been
|
|
677
|
+
loaded to play the media up to its end without having to stop for further buffering of content.
|
|
678
|
+
@see https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/canplaythrough_event
|
|
679
|
+
*/
|
|
680
|
+
"on:can-play-through"?: EventHandler<MediaPlayerEvents['can-play-through']>;
|
|
681
|
+
/**
|
|
682
|
+
Fired when the user agent can play the media, but estimates that **not enough** data has been
|
|
683
|
+
loaded to play the media up to its end without having to stop for further buffering of content.
|
|
684
|
+
@see https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/canplay_event
|
|
685
|
+
*/
|
|
686
|
+
"on:can-play"?: EventHandler<MediaPlayerEvents['can-play']>;
|
|
687
|
+
/**
|
|
688
|
+
Fired when controls visibility changes. The controls are idle/hidden when playback is
|
|
689
|
+
progressing (playing), and there is no user activity for a set period of time
|
|
690
|
+
(default is 2.5s). The event detail contains whether the controls are visible or not.
|
|
691
|
+
@detail isVisible
|
|
692
|
+
*/
|
|
693
|
+
"on:controls-change"?: EventHandler<MediaPlayerEvents['controls-change']>;
|
|
694
|
+
/**
|
|
695
|
+
Fired when the `duration` property changes.
|
|
696
|
+
@detail duration
|
|
697
|
+
@see https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/durationchange_event
|
|
698
|
+
*/
|
|
699
|
+
"on:duration-change"?: EventHandler<MediaPlayerEvents['duration-change']>;
|
|
700
|
+
/**
|
|
701
|
+
Fired when media enters/exits fullscreen. The event detail is a `boolean` indicating
|
|
702
|
+
if fullscreen was entered (`true`) or exited (`false`).
|
|
703
|
+
@detail isFullscreen
|
|
704
|
+
*/
|
|
705
|
+
"on:fullscreen-change"?: EventHandler<MediaPlayerEvents['fullscreen-change']>;
|
|
706
|
+
/**
|
|
707
|
+
Fired when an error occurs either entering or exiting fullscreen. This will generally occur
|
|
708
|
+
if fullscreen is not supported or the user has not interacted with the page yet.
|
|
709
|
+
@detail error
|
|
710
|
+
*/
|
|
711
|
+
"on:fullscreen-error"?: EventHandler<MediaPlayerEvents['fullscreen-error']>;
|
|
712
|
+
/**
|
|
713
|
+
Fired when the `live` state changes. The event detail indicates whether the current stream
|
|
714
|
+
is live or not.
|
|
715
|
+
@detail isLive
|
|
716
|
+
*/
|
|
717
|
+
"on:live-change"?: EventHandler<MediaPlayerEvents['live-change']>;
|
|
718
|
+
/**
|
|
719
|
+
Fired when the `liveEdge` state changes. The event detail indicates whether the user is viewing
|
|
720
|
+
at the live edge or not.
|
|
721
|
+
@detail isLiveEdge
|
|
722
|
+
*/
|
|
723
|
+
"on:live-edge-change"?: EventHandler<MediaPlayerEvents['live-edge-change']>;
|
|
724
|
+
/**
|
|
725
|
+
Fired when the browser has started to load a resource.
|
|
726
|
+
@see https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/loadstart_event
|
|
727
|
+
*/
|
|
728
|
+
"on:load-start"?: EventHandler<MediaPlayerEvents['load-start']>;
|
|
729
|
+
/**
|
|
730
|
+
Fired when the frame at the current playback position of the media has finished loading; often
|
|
731
|
+
the first frame.
|
|
732
|
+
@see https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/loadeddata_event
|
|
733
|
+
*/
|
|
734
|
+
"on:loaded-data"?: EventHandler<MediaPlayerEvents['loaded-data']>;
|
|
735
|
+
/**
|
|
736
|
+
Fired when the metadata has been loaded.
|
|
737
|
+
@see https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/loadedmetadata_event
|
|
738
|
+
*/
|
|
739
|
+
"on:loaded-metadata"?: EventHandler<MediaPlayerEvents['loaded-metadata']>;
|
|
740
|
+
/**
|
|
741
|
+
Fired when the `loop` property has changed value.
|
|
742
|
+
@detail isLooping
|
|
743
|
+
*/
|
|
744
|
+
"on:loop-change"?: EventHandler<MediaPlayerEvents['loop-change']>;
|
|
745
|
+
/**
|
|
746
|
+
Fired when the `media` property changes value.
|
|
747
|
+
@detail mediaType
|
|
748
|
+
*/
|
|
749
|
+
"on:media-type-change"?: EventHandler<MediaPlayerEvents['media-type-change']>;
|
|
750
|
+
/**
|
|
751
|
+
Fired when a screen orientation change is requested on or by the media.
|
|
752
|
+
undefined
|
|
753
|
+
*/
|
|
754
|
+
"on:orientation-change"?: EventHandler<MediaPlayerEvents['orientation-change']>;
|
|
755
|
+
/**
|
|
756
|
+
Fired when an attempt to start media playback results in an error.
|
|
757
|
+
@detail error
|
|
758
|
+
*/
|
|
759
|
+
"on:play-fail"?: EventHandler<MediaPlayerEvents['play-fail']>;
|
|
760
|
+
/**
|
|
761
|
+
Fired when the `playsInline` property has changed value.
|
|
762
|
+
@detail isInline
|
|
763
|
+
*/
|
|
764
|
+
"on:plays-inline-change"?: EventHandler<MediaPlayerEvents['plays-inline-change']>;
|
|
765
|
+
/**
|
|
766
|
+
Fired when the `currentPoster` property has changed value.
|
|
767
|
+
@detail poster
|
|
768
|
+
*/
|
|
769
|
+
"on:poster-change"?: EventHandler<MediaPlayerEvents['poster-change']>;
|
|
770
|
+
/**
|
|
771
|
+
Fired when the new media provider has been selected. This will be `null` if no provider is
|
|
772
|
+
able to play one of the current sources.
|
|
773
|
+
|
|
774
|
+
This event is ideal for initially configuring any provider-specific settings.
|
|
775
|
+
@detail adapter
|
|
776
|
+
*/
|
|
777
|
+
"on:provider-change"?: EventHandler<MediaPlayerEvents['provider-change']>;
|
|
778
|
+
/**
|
|
779
|
+
Fired when the new media provider loader has been selected and rendered. This will be `null` if
|
|
780
|
+
no loader is able to play one of the current sources.
|
|
781
|
+
@detail loader
|
|
782
|
+
*/
|
|
783
|
+
"on:provider-loader-change"?: EventHandler<MediaPlayerEvents['provider-loader-change']>;
|
|
784
|
+
/**
|
|
785
|
+
Fired immediately after the provider has been set up. Do not try and configure the provider
|
|
786
|
+
here as it'll be too late - prefer the `provider-change` event.
|
|
787
|
+
@detail adapter
|
|
788
|
+
*/
|
|
789
|
+
"on:provider-setup"?: EventHandler<MediaPlayerEvents['provider-setup']>;
|
|
790
|
+
/**
|
|
791
|
+
Fired when media enters/exits picture-in-picture (PIP) mode. The event detail is a `boolean`
|
|
792
|
+
indicating if PIP was entered (`true`) or exited (`false`).
|
|
793
|
+
@detail isPictureInPictureMode
|
|
794
|
+
*/
|
|
795
|
+
"on:picture-in-picture-change"?: EventHandler<MediaPlayerEvents['picture-in-picture-change']>;
|
|
796
|
+
/**
|
|
797
|
+
Fired when an error occurs either entering or exiting picture-in-picture (PIP) mode. This will
|
|
798
|
+
generally occur if PIP is not supported or the user has not interacted with the page yet.
|
|
799
|
+
@detail error
|
|
800
|
+
*/
|
|
801
|
+
"on:picture-in-picture-error"?: EventHandler<MediaPlayerEvents['picture-in-picture-error']>;
|
|
802
|
+
/**
|
|
803
|
+
Fired when the list of available video qualities/renditions has changed.
|
|
804
|
+
@detail renditions
|
|
805
|
+
*/
|
|
806
|
+
"on:qualities-change"?: EventHandler<MediaPlayerEvents['qualities-change']>;
|
|
807
|
+
/**
|
|
808
|
+
Fired when the current video quality/rendition has changed. The event detail will be null if
|
|
809
|
+
video quality information is not available.
|
|
810
|
+
@detail quality
|
|
811
|
+
*/
|
|
812
|
+
"on:quality-change"?: EventHandler<MediaPlayerEvents['quality-change']>;
|
|
813
|
+
/**
|
|
814
|
+
Fired when the playback rate has changed. The event `detail` contains the new rate.
|
|
815
|
+
@detail rate
|
|
816
|
+
@see https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/ratechange_event
|
|
817
|
+
*/
|
|
818
|
+
"on:rate-change"?: EventHandler<MediaPlayerEvents['rate-change']>;
|
|
819
|
+
/**
|
|
820
|
+
Fired when the remote playback state (`connecting`, `connected`, `disconnected`) and type
|
|
821
|
+
(`airplay`, `google-cast`) has changed.
|
|
822
|
+
undefined
|
|
823
|
+
*/
|
|
824
|
+
"on:remote-playback-change"?: EventHandler<MediaPlayerEvents['remote-playback-change']>;
|
|
825
|
+
/**
|
|
826
|
+
Fired when the `source` property has changed value.
|
|
827
|
+
@detail src
|
|
828
|
+
*/
|
|
829
|
+
"on:source-change"?: EventHandler<MediaPlayerEvents['source-change']>;
|
|
830
|
+
/**
|
|
831
|
+
Fired when the current media sources has changed.
|
|
832
|
+
@detail src
|
|
833
|
+
*/
|
|
834
|
+
"on:sources-change"?: EventHandler<MediaPlayerEvents['sources-change']>;
|
|
835
|
+
/**
|
|
836
|
+
Fired when the `currentTime` property value changes. The event `detail` contains the real time
|
|
837
|
+
of media playback without accounting for any clipping. This is also known as the provider time.
|
|
838
|
+
|
|
839
|
+
Listen to the time update event for the displayed time.
|
|
840
|
+
undefined
|
|
841
|
+
*/
|
|
842
|
+
"on:time-change"?: EventHandler<MediaPlayerEvents['time-change']>;
|
|
843
|
+
/**
|
|
844
|
+
Fired when the `currentTime` property value changes due to media playback or the
|
|
845
|
+
user seeking.
|
|
846
|
+
|
|
847
|
+
Listen to the time change event if you'd like to receive the real playback time
|
|
848
|
+
without accounting for any clipping.
|
|
849
|
+
@see https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/timeupdate_event
|
|
850
|
+
*/
|
|
851
|
+
"on:time-update"?: EventHandler<MediaPlayerEvents['time-update']>;
|
|
852
|
+
/**
|
|
853
|
+
Fired when the provided or inferred media title has changed.
|
|
854
|
+
@detail title
|
|
855
|
+
*/
|
|
856
|
+
"on:title-change"?: EventHandler<MediaPlayerEvents['title-change']>;
|
|
857
|
+
/**
|
|
858
|
+
Fired when the `streamType` property changes value. The event detail contains the type of
|
|
859
|
+
stream (e.g., `on-demand`, `live`, `live:dvr`, etc.).
|
|
860
|
+
@detail streamType
|
|
861
|
+
*/
|
|
862
|
+
"on:stream-type-change"?: EventHandler<MediaPlayerEvents['stream-type-change']>;
|
|
863
|
+
/**
|
|
864
|
+
Fired when an audio track has been added or removed.
|
|
865
|
+
@detail textTracks
|
|
866
|
+
*/
|
|
867
|
+
"on:text-tracks-change"?: EventHandler<MediaPlayerEvents['text-tracks-change']>;
|
|
868
|
+
/**
|
|
869
|
+
Fired when the current captions/subtitles text track changes.
|
|
870
|
+
@detail textTrack
|
|
871
|
+
*/
|
|
872
|
+
"on:text-track-change"?: EventHandler<MediaPlayerEvents['text-track-change']>;
|
|
873
|
+
/**
|
|
874
|
+
Fired when the `viewType` property changes value. This will generally fire when the
|
|
875
|
+
new provider has mounted and determined what type of player view is appropriate given
|
|
876
|
+
the type of media it can play.
|
|
877
|
+
@detail viewType
|
|
878
|
+
*/
|
|
879
|
+
"on:view-type-change"?: EventHandler<MediaPlayerEvents['view-type-change']>;
|
|
880
|
+
/**
|
|
881
|
+
Fired when the `volume` or `muted` properties change value.
|
|
882
|
+
@detail volume
|
|
883
|
+
@see https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/volumechange_event
|
|
884
|
+
*/
|
|
885
|
+
"on:volume-change"?: EventHandler<MediaPlayerEvents['volume-change']>;
|
|
886
|
+
/**
|
|
887
|
+
Fired when the resource was not fully loaded, but not as the result of an error.
|
|
888
|
+
@see https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/abort_event
|
|
889
|
+
*/
|
|
890
|
+
"on:abort"?: EventHandler<MediaPlayerEvents['abort']>;
|
|
891
|
+
/**
|
|
892
|
+
Fired when an auto-play attempt has successfully been made (ie: media playback has automatically
|
|
893
|
+
started). The event detail whether media is `muted` before any attempts are made.
|
|
894
|
+
undefined
|
|
895
|
+
*/
|
|
896
|
+
"on:auto-play"?: EventHandler<MediaPlayerEvents['auto-play']>;
|
|
897
|
+
/**
|
|
898
|
+
Fired when the player is manually destroyed by calling the `destroy()` method.
|
|
899
|
+
undefined
|
|
900
|
+
*/
|
|
901
|
+
"on:destroy"?: EventHandler<MediaPlayerEvents['destroy']>;
|
|
902
|
+
/**
|
|
903
|
+
Fired when the media has become empty.
|
|
904
|
+
@see https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/emptied_event
|
|
905
|
+
*/
|
|
906
|
+
"on:emptied"?: EventHandler<MediaPlayerEvents['emptied']>;
|
|
907
|
+
/**
|
|
908
|
+
Fired each time media playback has reached the end. This is fired even if the
|
|
909
|
+
`loop` property is `true`, which is generally when you'd reach for this event over the
|
|
910
|
+
`MediaEndedEvent` if you want to be notified of media looping.
|
|
911
|
+
undefined
|
|
912
|
+
*/
|
|
913
|
+
"on:end"?: EventHandler<MediaPlayerEvents['end']>;
|
|
914
|
+
/**
|
|
915
|
+
Fired when playback or streaming has stopped because the end of the media was reached or
|
|
916
|
+
because no further data is available. This is not fired if playback will start from the
|
|
917
|
+
beginning again due to the `loop` property being `true` (see `MediaReplayEvent`
|
|
918
|
+
and `MediaEndEvent`).
|
|
919
|
+
@see https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/ended_event
|
|
920
|
+
*/
|
|
921
|
+
"on:ended"?: EventHandler<MediaPlayerEvents['ended']>;
|
|
922
|
+
/**
|
|
923
|
+
Fired when media loading or playback has encountered any issues (for example, a network
|
|
924
|
+
connectivity problem). The event detail contains a potential message containing more
|
|
925
|
+
information about the error (empty string if nothing available), and a code that identifies
|
|
926
|
+
the general type of error that occurred.
|
|
927
|
+
@see https://html.spec.whatwg.org/multipage/media.html#error-codes
|
|
928
|
+
@see https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/error_event
|
|
929
|
+
*/
|
|
930
|
+
"on:error"?: EventHandler<MediaPlayerEvents['error']>;
|
|
931
|
+
/**
|
|
932
|
+
Fired when a request to `pause` an activity is handled and the activity has entered its
|
|
933
|
+
`paused` state, most commonly after the media has been paused through a call to the
|
|
934
|
+
`pause()` method.
|
|
935
|
+
@see https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/pause_event
|
|
936
|
+
*/
|
|
937
|
+
"on:pause"?: EventHandler<MediaPlayerEvents['pause']>;
|
|
938
|
+
/**
|
|
939
|
+
Fired when the `paused` property is changed from `true` to `false`, as a result of the `play()`
|
|
940
|
+
method, or the `autoPlay` property.
|
|
941
|
+
@see https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/play_event
|
|
942
|
+
*/
|
|
943
|
+
"on:play"?: EventHandler<MediaPlayerEvents['play']>;
|
|
944
|
+
/**
|
|
945
|
+
Fired when playback is ready to start after having been paused or delayed due to lack of data.
|
|
946
|
+
@see https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/playing_event
|
|
947
|
+
*/
|
|
948
|
+
"on:playing"?: EventHandler<MediaPlayerEvents['playing']>;
|
|
949
|
+
/**
|
|
950
|
+
Fired periodically as the browser loads a resource.
|
|
951
|
+
@see https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/progress_event
|
|
952
|
+
@detail progress
|
|
953
|
+
*/
|
|
954
|
+
"on:progress"?: EventHandler<MediaPlayerEvents['progress']>;
|
|
955
|
+
/**
|
|
956
|
+
Fired when media playback starts again after being in an `ended` state. This is fired
|
|
957
|
+
when the `loop` property is `true` and media loops, whereas the `play` event is not.
|
|
958
|
+
undefined
|
|
959
|
+
*/
|
|
960
|
+
"on:replay"?: EventHandler<MediaPlayerEvents['replay']>;
|
|
961
|
+
/**
|
|
962
|
+
Fired when a seek operation completed, the current playback position has changed, and the
|
|
963
|
+
`seeking` property is changed to `false`.
|
|
964
|
+
@detail currentTime
|
|
965
|
+
@see https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/seeked_event
|
|
966
|
+
*/
|
|
967
|
+
"on:seeked"?: EventHandler<MediaPlayerEvents['seeked']>;
|
|
968
|
+
/**
|
|
969
|
+
Fired when a seek operation starts, meaning the seeking property has changed to `true` and the
|
|
970
|
+
media is seeking to a new position.
|
|
971
|
+
@detail currentTime
|
|
972
|
+
@see https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/seeking_event
|
|
973
|
+
*/
|
|
974
|
+
"on:seeking"?: EventHandler<MediaPlayerEvents['seeking']>;
|
|
975
|
+
/**
|
|
976
|
+
Fired when the user agent is trying to fetch media data, but data is unexpectedly not
|
|
977
|
+
forthcoming.
|
|
978
|
+
@see https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/stalled_event
|
|
979
|
+
*/
|
|
980
|
+
"on:stalled"?: EventHandler<MediaPlayerEvents['stalled']>;
|
|
981
|
+
/**
|
|
982
|
+
Fired when media playback has just started, in other words the at the moment the following
|
|
983
|
+
happens: `currentTime > 0`.
|
|
984
|
+
undefined
|
|
985
|
+
*/
|
|
986
|
+
"on:started"?: EventHandler<MediaPlayerEvents['started']>;
|
|
987
|
+
/**
|
|
988
|
+
Fired when media data loading has been suspended.
|
|
989
|
+
@see https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/suspend_event
|
|
990
|
+
*/
|
|
991
|
+
"on:suspend"?: EventHandler<MediaPlayerEvents['suspend']>;
|
|
992
|
+
/**
|
|
993
|
+
Fired when playback has stopped because of a temporary lack of data.
|
|
994
|
+
@see https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/waiting_event
|
|
995
|
+
*/
|
|
996
|
+
"on:waiting"?: EventHandler<MediaPlayerEvents['waiting']>;
|
|
997
|
+
/**
|
|
998
|
+
Fired when requesting the AirPlay picker to open.
|
|
999
|
+
undefined
|
|
1000
|
+
*/
|
|
1001
|
+
"on:media-airplay-request"?: EventHandler<MediaPlayerEvents['media-airplay-request']>;
|
|
1002
|
+
/**
|
|
1003
|
+
Fired when requesting to change the current audio track to the given index in the
|
|
1004
|
+
`AudioTrackList` on the player.
|
|
1005
|
+
undefined
|
|
1006
|
+
*/
|
|
1007
|
+
"on:media-audio-track-change-request"?: EventHandler<MediaPlayerEvents['media-audio-track-change-request']>;
|
|
1008
|
+
/**
|
|
1009
|
+
Fired when requesting to change the clip start time. The event `detail` specifies the new start
|
|
1010
|
+
time in seconds.
|
|
1011
|
+
undefined
|
|
1012
|
+
*/
|
|
1013
|
+
"on:media-clip-start-change-request"?: EventHandler<MediaPlayerEvents['media-clip-start-change-request']>;
|
|
1014
|
+
/**
|
|
1015
|
+
Fired when requesting to change the clip end time. The event `detail` specifies the new end
|
|
1016
|
+
time in seconds.
|
|
1017
|
+
undefined
|
|
1018
|
+
*/
|
|
1019
|
+
"on:media-clip-end-change-request"?: EventHandler<MediaPlayerEvents['media-clip-end-change-request']>;
|
|
1020
|
+
/**
|
|
1021
|
+
Fired when requesting to change the length of the media. The event `detail` specifies the
|
|
1022
|
+
new length in seconds.
|
|
1023
|
+
undefined
|
|
1024
|
+
*/
|
|
1025
|
+
"on:media-duration-change-request"?: EventHandler<MediaPlayerEvents['media-duration-change-request']>;
|
|
1026
|
+
/**
|
|
1027
|
+
Fired when requesting media to enter fullscreen. The event `detail` can specify the
|
|
1028
|
+
fullscreen target, which can be the media or provider (defaults to `prefer-media`).
|
|
1029
|
+
undefined
|
|
1030
|
+
*/
|
|
1031
|
+
"on:media-enter-fullscreen-request"?: EventHandler<MediaPlayerEvents['media-enter-fullscreen-request']>;
|
|
1032
|
+
/**
|
|
1033
|
+
Fired when requesting media to exit fullscreen. The event `detail` can specify the fullscreen
|
|
1034
|
+
target, which can be the media or provider (defaults to `prefer-media`).
|
|
1035
|
+
undefined
|
|
1036
|
+
*/
|
|
1037
|
+
"on:media-exit-fullscreen-request"?: EventHandler<MediaPlayerEvents['media-exit-fullscreen-request']>;
|
|
1038
|
+
/**
|
|
1039
|
+
Fired when requesting media to enter picture-in-picture mode.
|
|
1040
|
+
undefined
|
|
1041
|
+
*/
|
|
1042
|
+
"on:media-enter-pip-request"?: EventHandler<MediaPlayerEvents['media-enter-pip-request']>;
|
|
1043
|
+
/**
|
|
1044
|
+
Fired when requesting media to exit picture-in-picture mode.
|
|
1045
|
+
undefined
|
|
1046
|
+
*/
|
|
1047
|
+
"on:media-exit-pip-request"?: EventHandler<MediaPlayerEvents['media-exit-pip-request']>;
|
|
1048
|
+
/**
|
|
1049
|
+
Fired when requesting Google Cast.
|
|
1050
|
+
undefined
|
|
1051
|
+
*/
|
|
1052
|
+
"on:media-google-cast-request"?: EventHandler<MediaPlayerEvents['media-google-cast-request']>;
|
|
1053
|
+
/**
|
|
1054
|
+
Fired when requesting media to seek to the live edge (i.e., set the current time to the current
|
|
1055
|
+
live time).
|
|
1056
|
+
undefined
|
|
1057
|
+
*/
|
|
1058
|
+
"on:media-live-edge-request"?: EventHandler<MediaPlayerEvents['media-live-edge-request']>;
|
|
1059
|
+
/**
|
|
1060
|
+
Internal event that is fired by a media provider when requesting media playback to restart after
|
|
1061
|
+
reaching the end. This event also helps notify the player that media will be looping.
|
|
1062
|
+
undefined
|
|
1063
|
+
*/
|
|
1064
|
+
"on:media-loop-request"?: EventHandler<MediaPlayerEvents['media-loop-request']>;
|
|
1065
|
+
/**
|
|
1066
|
+
Fired when the user loop preference changes.
|
|
1067
|
+
undefined
|
|
1068
|
+
*/
|
|
1069
|
+
"on:media-user-loop-change-request"?: EventHandler<MediaPlayerEvents['media-user-loop-change-request']>;
|
|
1070
|
+
/**
|
|
1071
|
+
Fired when the user dual captions preference changes.
|
|
1072
|
+
undefined
|
|
1073
|
+
*/
|
|
1074
|
+
"on:media-user-dual-captions-change-request"?: EventHandler<MediaPlayerEvents['media-user-dual-captions-change-request']>;
|
|
1075
|
+
/**
|
|
1076
|
+
Fired when requesting the screen orientation to be locked to a certain type.
|
|
1077
|
+
undefined
|
|
1078
|
+
*/
|
|
1079
|
+
"on:media-orientation-lock-request"?: EventHandler<MediaPlayerEvents['media-orientation-lock-request']>;
|
|
1080
|
+
/**
|
|
1081
|
+
Fired when requesting the screen orientation to be unlocked.
|
|
1082
|
+
undefined
|
|
1083
|
+
*/
|
|
1084
|
+
"on:media-orientation-unlock-request"?: EventHandler<MediaPlayerEvents['media-orientation-unlock-request']>;
|
|
1085
|
+
/**
|
|
1086
|
+
Fired when requesting the media to be muted.
|
|
1087
|
+
undefined
|
|
1088
|
+
*/
|
|
1089
|
+
"on:media-mute-request"?: EventHandler<MediaPlayerEvents['media-mute-request']>;
|
|
1090
|
+
/**
|
|
1091
|
+
Fired when requesting media playback to temporarily stop.
|
|
1092
|
+
undefined
|
|
1093
|
+
*/
|
|
1094
|
+
"on:media-pause-request"?: EventHandler<MediaPlayerEvents['media-pause-request']>;
|
|
1095
|
+
/**
|
|
1096
|
+
Fired when controls visibility tracking should pause. This is typically used when a control
|
|
1097
|
+
is being actively interacted with, and we don't want the controls to be hidden before
|
|
1098
|
+
the interaction is complete (eg: scrubbing, or settings is open).
|
|
1099
|
+
undefined
|
|
1100
|
+
*/
|
|
1101
|
+
"on:media-pause-controls-request"?: EventHandler<MediaPlayerEvents['media-pause-controls-request']>;
|
|
1102
|
+
/**
|
|
1103
|
+
Fired when requesting media playback to begin/resume.
|
|
1104
|
+
undefined
|
|
1105
|
+
*/
|
|
1106
|
+
"on:media-play-request"?: EventHandler<MediaPlayerEvents['media-play-request']>;
|
|
1107
|
+
/**
|
|
1108
|
+
Fired when requesting to change the current video quality to the given index in the
|
|
1109
|
+
`VideoQualityList` on the player.
|
|
1110
|
+
@detail qualityIndex
|
|
1111
|
+
*/
|
|
1112
|
+
"on:media-quality-change-request"?: EventHandler<MediaPlayerEvents['media-quality-change-request']>;
|
|
1113
|
+
/**
|
|
1114
|
+
Fired when requesting to change the current playback rate.
|
|
1115
|
+
@detail rate
|
|
1116
|
+
*/
|
|
1117
|
+
"on:media-rate-change-request"?: EventHandler<MediaPlayerEvents['media-rate-change-request']>;
|
|
1118
|
+
/**
|
|
1119
|
+
Fired when requesting to change the current audio gain.
|
|
1120
|
+
@detail gain
|
|
1121
|
+
*/
|
|
1122
|
+
"on:media-audio-gain-change-request"?: EventHandler<MediaPlayerEvents['media-audio-gain-change-request']>;
|
|
1123
|
+
/**
|
|
1124
|
+
Fired when controls visibility tracking may resume. This is typically called after requesting
|
|
1125
|
+
tracking to pause via `media-pause-controls-request`.
|
|
1126
|
+
undefined
|
|
1127
|
+
*/
|
|
1128
|
+
"on:media-resume-controls-request"?: EventHandler<MediaPlayerEvents['media-resume-controls-request']>;
|
|
1129
|
+
/**
|
|
1130
|
+
Fired when requesting a time change. In other words, moving the play head to a new position.
|
|
1131
|
+
@detail seekTo
|
|
1132
|
+
*/
|
|
1133
|
+
"on:media-seek-request"?: EventHandler<MediaPlayerEvents['media-seek-request']>;
|
|
1134
|
+
/**
|
|
1135
|
+
Fired when seeking/scrubbing to a new playback position.
|
|
1136
|
+
@detail time
|
|
1137
|
+
*/
|
|
1138
|
+
"on:media-seeking-request"?: EventHandler<MediaPlayerEvents['media-seeking-request']>;
|
|
1139
|
+
/**
|
|
1140
|
+
Fired when requesting media to begin loading. This will only take effect if the `load`
|
|
1141
|
+
strategy on the player is set to `custom`.
|
|
1142
|
+
undefined
|
|
1143
|
+
*/
|
|
1144
|
+
"on:media-start-loading"?: EventHandler<MediaPlayerEvents['media-start-loading']>;
|
|
1145
|
+
/**
|
|
1146
|
+
Fired when requesting the media poster to begin loading. This will only take effect if the
|
|
1147
|
+
`posterLoad` strategy on the player is set to `custom`.
|
|
1148
|
+
undefined
|
|
1149
|
+
*/
|
|
1150
|
+
"on:media-poster-start-loading"?: EventHandler<MediaPlayerEvents['media-poster-start-loading']>;
|
|
1151
|
+
/**
|
|
1152
|
+
Fired when requesting to change the `mode` on a text track at the given index in the
|
|
1153
|
+
`TextTrackList` on the player.
|
|
1154
|
+
undefined
|
|
1155
|
+
*/
|
|
1156
|
+
"on:media-text-track-change-request"?: EventHandler<MediaPlayerEvents['media-text-track-change-request']>;
|
|
1157
|
+
/**
|
|
1158
|
+
Fired when requesting the media to be unmuted.
|
|
1159
|
+
undefined
|
|
1160
|
+
*/
|
|
1161
|
+
"on:media-unmute-request"?: EventHandler<MediaPlayerEvents['media-unmute-request']>;
|
|
1162
|
+
/**
|
|
1163
|
+
Fired when requesting the media volume to be set to a new level.
|
|
1164
|
+
@detail volume
|
|
1165
|
+
*/
|
|
1166
|
+
"on:media-volume-change-request"?: EventHandler<MediaPlayerEvents['media-volume-change-request']>;
|
|
1167
|
+
"on:vds-log"?: EventHandler<MediaPlayerEvents['vds-log']>;
|
|
1168
|
+
/**
|
|
1169
|
+
Fired when the video presentation mode changes. Only available in Safari.
|
|
1170
|
+
@detail mode
|
|
1171
|
+
*/
|
|
1172
|
+
"on:video-presentation-change"?: EventHandler<MediaPlayerEvents['video-presentation-change']>;
|
|
1173
|
+
/**
|
|
1174
|
+
Fired when the browser begins downloading the `hls.js` library.
|
|
1175
|
+
undefined
|
|
1176
|
+
*/
|
|
1177
|
+
"on:hls-lib-load-start"?: EventHandler<MediaPlayerEvents['hls-lib-load-start']>;
|
|
1178
|
+
/**
|
|
1179
|
+
Fired when the `hls.js` library has been loaded.
|
|
1180
|
+
@detail constructor
|
|
1181
|
+
*/
|
|
1182
|
+
"on:hls-lib-loaded"?: EventHandler<MediaPlayerEvents['hls-lib-loaded']>;
|
|
1183
|
+
/**
|
|
1184
|
+
Fired when the `hls.js` library fails during the download process.
|
|
1185
|
+
@detail error
|
|
1186
|
+
*/
|
|
1187
|
+
"on:hls-lib-load-error"?: EventHandler<MediaPlayerEvents['hls-lib-load-error']>;
|
|
1188
|
+
/**
|
|
1189
|
+
Fired when the `hls.js` instance is built. This will not fire if the browser does not
|
|
1190
|
+
support `hls.js`.
|
|
1191
|
+
@detail instance
|
|
1192
|
+
*/
|
|
1193
|
+
"on:hls-instance"?: EventHandler<MediaPlayerEvents['hls-instance']>;
|
|
1194
|
+
/**
|
|
1195
|
+
Fired when the browser doesn't support HLS natively, _and_ `hls.js` doesn't support
|
|
1196
|
+
this environment either, most likely due to missing Media Extensions or video codecs.
|
|
1197
|
+
undefined
|
|
1198
|
+
*/
|
|
1199
|
+
"on:hls-unsupported"?: EventHandler<MediaPlayerEvents['hls-unsupported']>;
|
|
1200
|
+
/**
|
|
1201
|
+
Fired before `MediaSource` begins attaching to the media element.
|
|
1202
|
+
@detail data
|
|
1203
|
+
*/
|
|
1204
|
+
"on:hls-media-attaching"?: EventHandler<MediaPlayerEvents['hls-media-attaching']>;
|
|
1205
|
+
/**
|
|
1206
|
+
Fired when `MediaSource` has been successfully attached to the media element.
|
|
1207
|
+
@detail data
|
|
1208
|
+
*/
|
|
1209
|
+
"on:hls-media-attached"?: EventHandler<MediaPlayerEvents['hls-media-attached']>;
|
|
1210
|
+
/**
|
|
1211
|
+
Fired before detaching `MediaSource` from the media element.
|
|
1212
|
+
undefined
|
|
1213
|
+
*/
|
|
1214
|
+
"on:hls-media-detaching"?: EventHandler<MediaPlayerEvents['hls-media-detaching']>;
|
|
1215
|
+
/**
|
|
1216
|
+
Fired when `MediaSource` has been detached from media element.
|
|
1217
|
+
undefined
|
|
1218
|
+
*/
|
|
1219
|
+
"on:hls-media-detached"?: EventHandler<MediaPlayerEvents['hls-media-detached']>;
|
|
1220
|
+
/**
|
|
1221
|
+
Fired when we buffer is going to be reset.
|
|
1222
|
+
undefined
|
|
1223
|
+
*/
|
|
1224
|
+
"on:hls-buffer-reset"?: EventHandler<MediaPlayerEvents['hls-buffer-reset']>;
|
|
1225
|
+
/**
|
|
1226
|
+
Fired when we know about the codecs that we need buffers for to push into.
|
|
1227
|
+
@detail data
|
|
1228
|
+
*/
|
|
1229
|
+
"on:hls-buffer-codecs"?: EventHandler<MediaPlayerEvents['hls-buffer-codecs']>;
|
|
1230
|
+
/**
|
|
1231
|
+
Fired when `SourceBuffer`'s have been created.
|
|
1232
|
+
@detail data
|
|
1233
|
+
*/
|
|
1234
|
+
"on:hls-buffer-created"?: EventHandler<MediaPlayerEvents['hls-buffer-created']>;
|
|
1235
|
+
/**
|
|
1236
|
+
Fired when we begin appending a media segment to the buffer.
|
|
1237
|
+
@detail data
|
|
1238
|
+
*/
|
|
1239
|
+
"on:hls-buffer-appending"?: EventHandler<MediaPlayerEvents['hls-buffer-appending']>;
|
|
1240
|
+
/**
|
|
1241
|
+
Fired when we are done with appending a media segment to the buffer.
|
|
1242
|
+
@detail data
|
|
1243
|
+
*/
|
|
1244
|
+
"on:hls-buffer-appended"?: EventHandler<MediaPlayerEvents['hls-buffer-appended']>;
|
|
1245
|
+
/**
|
|
1246
|
+
Fired when the stream is finished and we want to notify the media buffer that there will be no
|
|
1247
|
+
more data.
|
|
1248
|
+
@detail data
|
|
1249
|
+
*/
|
|
1250
|
+
"on:hls-buffer-eos"?: EventHandler<MediaPlayerEvents['hls-buffer-eos']>;
|
|
1251
|
+
/**
|
|
1252
|
+
Fired when the media buffer should be flushed.
|
|
1253
|
+
@detail data
|
|
1254
|
+
*/
|
|
1255
|
+
"on:hls-buffer-flushing"?: EventHandler<MediaPlayerEvents['hls-buffer-flushing']>;
|
|
1256
|
+
/**
|
|
1257
|
+
Fired when the media buffer has been flushed.
|
|
1258
|
+
@detail data
|
|
1259
|
+
*/
|
|
1260
|
+
"on:hls-buffer-flushed"?: EventHandler<MediaPlayerEvents['hls-buffer-flushed']>;
|
|
1261
|
+
/**
|
|
1262
|
+
Fired to signal that manifest loading is starting.
|
|
1263
|
+
@detail data
|
|
1264
|
+
*/
|
|
1265
|
+
"on:hls-manifest-loading"?: EventHandler<MediaPlayerEvents['hls-manifest-loading']>;
|
|
1266
|
+
/**
|
|
1267
|
+
Fired after the manifest has been loaded.
|
|
1268
|
+
@detail data
|
|
1269
|
+
*/
|
|
1270
|
+
"on:hls-manifest-loaded"?: EventHandler<MediaPlayerEvents['hls-manifest-loaded']>;
|
|
1271
|
+
/**
|
|
1272
|
+
Fired after manifest has been parsed.
|
|
1273
|
+
@detail data
|
|
1274
|
+
*/
|
|
1275
|
+
"on:hls-manifest-parsed"?: EventHandler<MediaPlayerEvents['hls-manifest-parsed']>;
|
|
1276
|
+
/**
|
|
1277
|
+
Fired when a level switch is requested.
|
|
1278
|
+
@detail data
|
|
1279
|
+
*/
|
|
1280
|
+
"on:hls-level-switching"?: EventHandler<MediaPlayerEvents['hls-level-switching']>;
|
|
1281
|
+
/**
|
|
1282
|
+
Fired when a level switch is effective.
|
|
1283
|
+
@detail data
|
|
1284
|
+
*/
|
|
1285
|
+
"on:hls-level-switched"?: EventHandler<MediaPlayerEvents['hls-level-switched']>;
|
|
1286
|
+
/**
|
|
1287
|
+
Fired when a level playlist loading starts.
|
|
1288
|
+
@detail data
|
|
1289
|
+
*/
|
|
1290
|
+
"on:hls-level-loading"?: EventHandler<MediaPlayerEvents['hls-level-loading']>;
|
|
1291
|
+
/**
|
|
1292
|
+
Fired when a level playlist loading finishes.
|
|
1293
|
+
@detail data
|
|
1294
|
+
*/
|
|
1295
|
+
"on:hls-level-loaded"?: EventHandler<MediaPlayerEvents['hls-level-loaded']>;
|
|
1296
|
+
/**
|
|
1297
|
+
Fired when a level's details have been updated based on previous details, after it has been
|
|
1298
|
+
loaded.
|
|
1299
|
+
@detail data
|
|
1300
|
+
*/
|
|
1301
|
+
"on:hls-level-updated"?: EventHandler<MediaPlayerEvents['hls-level-updated']>;
|
|
1302
|
+
/**
|
|
1303
|
+
Fired when a level's PTS information has been updated after parsing a fragment.
|
|
1304
|
+
@detail data
|
|
1305
|
+
*/
|
|
1306
|
+
"on:hls-level-pts-updated"?: EventHandler<MediaPlayerEvents['hls-level-pts-updated']>;
|
|
1307
|
+
/**
|
|
1308
|
+
Fired when a level is removed after calling `removeLevel()`.
|
|
1309
|
+
@detail data
|
|
1310
|
+
*/
|
|
1311
|
+
"on:hls-levels-updated"?: EventHandler<MediaPlayerEvents['hls-levels-updated']>;
|
|
1312
|
+
/**
|
|
1313
|
+
Fired to notify that the audio track list has been updated.
|
|
1314
|
+
@detail data
|
|
1315
|
+
*/
|
|
1316
|
+
"on:hls-audio-tracks-updated"?: EventHandler<MediaPlayerEvents['hls-audio-tracks-updated']>;
|
|
1317
|
+
/**
|
|
1318
|
+
Fired when an audio track switching is requested.
|
|
1319
|
+
@detail data
|
|
1320
|
+
*/
|
|
1321
|
+
"on:hls-audio-track-switching"?: EventHandler<MediaPlayerEvents['hls-audio-track-switching']>;
|
|
1322
|
+
/**
|
|
1323
|
+
Fired when an audio track switch actually occurs.
|
|
1324
|
+
@detail data
|
|
1325
|
+
*/
|
|
1326
|
+
"on:hls-audio-track-switched"?: EventHandler<MediaPlayerEvents['hls-audio-track-switched']>;
|
|
1327
|
+
/**
|
|
1328
|
+
Fired when loading an audio track starts.
|
|
1329
|
+
@detail data
|
|
1330
|
+
*/
|
|
1331
|
+
"on:hls-audio-track-loading"?: EventHandler<MediaPlayerEvents['hls-audio-track-loading']>;
|
|
1332
|
+
/**
|
|
1333
|
+
Fired when loading an audio track finishes.
|
|
1334
|
+
@detail data
|
|
1335
|
+
*/
|
|
1336
|
+
"on:hls-audio-track-loaded"?: EventHandler<MediaPlayerEvents['hls-audio-track-loaded']>;
|
|
1337
|
+
/**
|
|
1338
|
+
Fired to notify that the subtitle track list has been updated.
|
|
1339
|
+
@detail data
|
|
1340
|
+
*/
|
|
1341
|
+
"on:hls-subtitle-tracks-updated"?: EventHandler<MediaPlayerEvents['hls-subtitle-tracks-updated']>;
|
|
1342
|
+
/**
|
|
1343
|
+
Fired to notify that subtitle tracks were cleared as a result of stopping the media.
|
|
1344
|
+
undefined
|
|
1345
|
+
*/
|
|
1346
|
+
"on:hls-subtitle-tracks-cleared"?: EventHandler<MediaPlayerEvents['hls-subtitle-tracks-cleared']>;
|
|
1347
|
+
/**
|
|
1348
|
+
Fired when a subtitle track switch occurs.
|
|
1349
|
+
@detail data
|
|
1350
|
+
*/
|
|
1351
|
+
"on:hls-subtitle-track-switch"?: EventHandler<MediaPlayerEvents['hls-subtitle-track-switch']>;
|
|
1352
|
+
/**
|
|
1353
|
+
Fired when loading a subtitle track starts.
|
|
1354
|
+
@detail data
|
|
1355
|
+
*/
|
|
1356
|
+
"on:hls-subtitle-track-loading"?: EventHandler<MediaPlayerEvents['hls-subtitle-track-loading']>;
|
|
1357
|
+
/**
|
|
1358
|
+
Fired when loading a subtitle track finishes.
|
|
1359
|
+
@detail data
|
|
1360
|
+
*/
|
|
1361
|
+
"on:hls-subtitle-track-loaded"?: EventHandler<MediaPlayerEvents['hls-subtitle-track-loaded']>;
|
|
1362
|
+
/**
|
|
1363
|
+
Fired when a subtitle fragment has been processed.
|
|
1364
|
+
@detail data
|
|
1365
|
+
*/
|
|
1366
|
+
"on:hls-subtitle-frag-processed"?: EventHandler<MediaPlayerEvents['hls-subtitle-frag-processed']>;
|
|
1367
|
+
/**
|
|
1368
|
+
Fired when a set of `VTTCue`'s to be managed externally has been parsed.
|
|
1369
|
+
@detail data
|
|
1370
|
+
*/
|
|
1371
|
+
"on:hls-cues-parsed"?: EventHandler<MediaPlayerEvents['hls-cues-parsed']>;
|
|
1372
|
+
/**
|
|
1373
|
+
Fired when a text track to be managed externally is found.
|
|
1374
|
+
@detail data
|
|
1375
|
+
*/
|
|
1376
|
+
"on:hls-non-native-text-tracks-found"?: EventHandler<MediaPlayerEvents['hls-non-native-text-tracks-found']>;
|
|
1377
|
+
/**
|
|
1378
|
+
Fired when the first timestamp is found.
|
|
1379
|
+
@detail data
|
|
1380
|
+
*/
|
|
1381
|
+
"on:hls-init-pts-found"?: EventHandler<MediaPlayerEvents['hls-init-pts-found']>;
|
|
1382
|
+
/**
|
|
1383
|
+
Fired when loading a fragment starts.
|
|
1384
|
+
@detail data
|
|
1385
|
+
*/
|
|
1386
|
+
"on:hls-frag-loading"?: EventHandler<MediaPlayerEvents['hls-frag-loading']>;
|
|
1387
|
+
/**
|
|
1388
|
+
Fired when fragment loading is aborted for emergency switch down.
|
|
1389
|
+
@detail data
|
|
1390
|
+
*/
|
|
1391
|
+
"on:hls-frag-load-emergency-aborted"?: EventHandler<MediaPlayerEvents['hls-frag-load-emergency-aborted']>;
|
|
1392
|
+
/**
|
|
1393
|
+
Fired when fragment loading is completed.
|
|
1394
|
+
@detail data
|
|
1395
|
+
*/
|
|
1396
|
+
"on:hls-frag-loaded"?: EventHandler<MediaPlayerEvents['hls-frag-loaded']>;
|
|
1397
|
+
/**
|
|
1398
|
+
Fired when a fragment has finished decrypting.
|
|
1399
|
+
@detail data
|
|
1400
|
+
*/
|
|
1401
|
+
"on:hls-frag-decrypted"?: EventHandler<MediaPlayerEvents['hls-frag-decrypted']>;
|
|
1402
|
+
/**
|
|
1403
|
+
Fired when `InitSegment` has been extracted from a fragment.
|
|
1404
|
+
@detail data
|
|
1405
|
+
*/
|
|
1406
|
+
"on:hls-frag-parsing-init-segment"?: EventHandler<MediaPlayerEvents['hls-frag-parsing-init-segment']>;
|
|
1407
|
+
/**
|
|
1408
|
+
Fired when parsing sei text is completed.
|
|
1409
|
+
@detail data
|
|
1410
|
+
*/
|
|
1411
|
+
"on:hls-frag-parsing-userdata"?: EventHandler<MediaPlayerEvents['hls-frag-parsing-userdata']>;
|
|
1412
|
+
/**
|
|
1413
|
+
Fired when parsing id3 is completed.
|
|
1414
|
+
@detail data
|
|
1415
|
+
*/
|
|
1416
|
+
"on:hls-frag-parsing-metadata"?: EventHandler<MediaPlayerEvents['hls-frag-parsing-metadata']>;
|
|
1417
|
+
/**
|
|
1418
|
+
Fired when fragment parsing is completed.
|
|
1419
|
+
@detail data
|
|
1420
|
+
*/
|
|
1421
|
+
"on:hls-frag-parsed"?: EventHandler<MediaPlayerEvents['hls-frag-parsed']>;
|
|
1422
|
+
/**
|
|
1423
|
+
Fired when fragment remuxed MP4 boxes have all been appended into `SourceBuffer`.
|
|
1424
|
+
@detail data
|
|
1425
|
+
*/
|
|
1426
|
+
"on:hls-frag-buffered-data"?: EventHandler<MediaPlayerEvents['hls-frag-buffered-data']>;
|
|
1427
|
+
/**
|
|
1428
|
+
Fired when fragment matching with current media position is changing.
|
|
1429
|
+
@detail data
|
|
1430
|
+
*/
|
|
1431
|
+
"on:hls-frag-changed"?: EventHandler<MediaPlayerEvents['hls-frag-changed']>;
|
|
1432
|
+
/**
|
|
1433
|
+
Fired when a FPS drop is identified.
|
|
1434
|
+
@detail data
|
|
1435
|
+
*/
|
|
1436
|
+
"on:hls-fps-drop"?: EventHandler<MediaPlayerEvents['hls-fps-drop']>;
|
|
1437
|
+
/**
|
|
1438
|
+
Fired when FPS drop triggers auto level capping.
|
|
1439
|
+
@detail data
|
|
1440
|
+
*/
|
|
1441
|
+
"on:hls-fps-drop-level-capping"?: EventHandler<MediaPlayerEvents['hls-fps-drop-level-capping']>;
|
|
1442
|
+
/**
|
|
1443
|
+
Fired when an error has occurred during loading or playback.
|
|
1444
|
+
@detail data
|
|
1445
|
+
*/
|
|
1446
|
+
"on:hls-error"?: EventHandler<MediaPlayerEvents['hls-error']>;
|
|
1447
|
+
/**
|
|
1448
|
+
Fired when the `hls.js` instance is being destroyed. Different from `hls-media-detached` as
|
|
1449
|
+
one could want to detach, and reattach media to the `hls.js` instance to handle mid-rolls.
|
|
1450
|
+
undefined
|
|
1451
|
+
*/
|
|
1452
|
+
"on:hls-destroying"?: EventHandler<MediaPlayerEvents['hls-destroying']>;
|
|
1453
|
+
/**
|
|
1454
|
+
Fired when a decrypt key loading starts.
|
|
1455
|
+
@detail data
|
|
1456
|
+
*/
|
|
1457
|
+
"on:hls-key-loading"?: EventHandler<MediaPlayerEvents['hls-key-loading']>;
|
|
1458
|
+
/**
|
|
1459
|
+
Fired when a decrypt key has been loaded.
|
|
1460
|
+
@detail data
|
|
1461
|
+
*/
|
|
1462
|
+
"on:hls-key-loaded"?: EventHandler<MediaPlayerEvents['hls-key-loaded']>;
|
|
1463
|
+
/**
|
|
1464
|
+
Fired when the back buffer is reached as defined by the `backBufferLength` config option.
|
|
1465
|
+
@detail data
|
|
1466
|
+
*/
|
|
1467
|
+
"on:hls-back-buffer-reached"?: EventHandler<MediaPlayerEvents['hls-back-buffer-reached']>;
|
|
1468
|
+
/**
|
|
1469
|
+
Fired when the browser begins downloading the `dash.js` library.
|
|
1470
|
+
undefined
|
|
1471
|
+
*/
|
|
1472
|
+
"on:dash-lib-load-start"?: EventHandler<MediaPlayerEvents['dash-lib-load-start']>;
|
|
1473
|
+
/**
|
|
1474
|
+
Fired when the `dash.js` library has been loaded.
|
|
1475
|
+
@detail constructor
|
|
1476
|
+
*/
|
|
1477
|
+
"on:dash-lib-loaded"?: EventHandler<MediaPlayerEvents['dash-lib-loaded']>;
|
|
1478
|
+
/**
|
|
1479
|
+
Fired when the `dash.js` library fails during the download process.
|
|
1480
|
+
@detail error
|
|
1481
|
+
*/
|
|
1482
|
+
"on:dash-lib-load-error"?: EventHandler<MediaPlayerEvents['dash-lib-load-error']>;
|
|
1483
|
+
/**
|
|
1484
|
+
Fired when the `dash.js` instance is built. This will not fire if the browser does not
|
|
1485
|
+
support `DASH.js`.
|
|
1486
|
+
@detail instance
|
|
1487
|
+
*/
|
|
1488
|
+
"on:dash-instance"?: EventHandler<MediaPlayerEvents['dash-instance']>;
|
|
1489
|
+
/**
|
|
1490
|
+
Fired when the browser doesn't support DASH natively, _and_ `dash.js` doesn't support
|
|
1491
|
+
this environment either, most likely due to missing Media Extensions or video codecs.
|
|
1492
|
+
undefined
|
|
1493
|
+
*/
|
|
1494
|
+
"on:dash-unsupported"?: EventHandler<MediaPlayerEvents['dash-unsupported']>;
|
|
1495
|
+
/**
|
|
1496
|
+
Triggered when playback will not start yet as the MPD's `availabilityStartTime` is in the future.
|
|
1497
|
+
Check delay property in payload to determine time before playback will start.
|
|
1498
|
+
@detail data
|
|
1499
|
+
*/
|
|
1500
|
+
"on:dash-ast-in-future"?: EventHandler<MediaPlayerEvents['dash-ast-in-future']>;
|
|
1501
|
+
/**
|
|
1502
|
+
Triggered when the `BaseURL` have been updated.
|
|
1503
|
+
undefined
|
|
1504
|
+
*/
|
|
1505
|
+
"on:dash-base-urls-updated"?: EventHandler<MediaPlayerEvents['dash-base-urls-updated']>;
|
|
1506
|
+
/**
|
|
1507
|
+
Triggered when the video element's buffer state changes to `stalled`. Check `mediaType` in
|
|
1508
|
+
payload to determine type (Video, Audio, FragmentedText).
|
|
1509
|
+
undefined
|
|
1510
|
+
*/
|
|
1511
|
+
"on:dash-buffer-empty"?: EventHandler<MediaPlayerEvents['dash-buffer-empty']>;
|
|
1512
|
+
/**
|
|
1513
|
+
Triggered when the video element's buffer state changes to `loaded`. Check `mediaType` in payload
|
|
1514
|
+
to determine type (Video, Audio, FragmentedText).
|
|
1515
|
+
@detail data
|
|
1516
|
+
*/
|
|
1517
|
+
"on:dash-buffer-loaded"?: EventHandler<MediaPlayerEvents['dash-buffer-loaded']>;
|
|
1518
|
+
/**
|
|
1519
|
+
Triggered when the video element's buffer state changes, either stalled or loaded. Check
|
|
1520
|
+
payload for state.
|
|
1521
|
+
@detail data
|
|
1522
|
+
*/
|
|
1523
|
+
"on:dash-buffer-level-state-changed"?: EventHandler<MediaPlayerEvents['dash-buffer-level-state-changed']>;
|
|
1524
|
+
/**
|
|
1525
|
+
Triggered when the buffer level of a media type has been updated.
|
|
1526
|
+
undefined
|
|
1527
|
+
*/
|
|
1528
|
+
"on:dash-buffer-level-updated"?: EventHandler<MediaPlayerEvents['dash-buffer-level-updated']>;
|
|
1529
|
+
/**
|
|
1530
|
+
Triggered when a font signalled by a DVB Font Download has been added to the document `ntFaceSet`
|
|
1531
|
+
interface.
|
|
1532
|
+
@detail data
|
|
1533
|
+
*/
|
|
1534
|
+
"on:dash-dvb-font-download-added"?: EventHandler<MediaPlayerEvents['dash-dvb-font-download-added']>;
|
|
1535
|
+
/**
|
|
1536
|
+
Triggered when a font signalled by a DVB Font Download has successfully downloaded and the
|
|
1537
|
+
`ntFace` can be used.
|
|
1538
|
+
@detail data
|
|
1539
|
+
*/
|
|
1540
|
+
"on:dash-dvb-font-download-complete"?: EventHandler<MediaPlayerEvents['dash-dvb-font-download-complete']>;
|
|
1541
|
+
/**
|
|
1542
|
+
Triggered when a font signalled by a DVB Font Download could not be successfully downloaded, so
|
|
1543
|
+
the `FontFace` will not be used.
|
|
1544
|
+
@detail data
|
|
1545
|
+
*/
|
|
1546
|
+
"on:dash-dvb-font-download-failed"?: EventHandler<MediaPlayerEvents['dash-dvb-font-download-failed']>;
|
|
1547
|
+
/**
|
|
1548
|
+
Triggered when a dynamic stream changed to static (transition phase between Live and -Demand).
|
|
1549
|
+
@detail data
|
|
1550
|
+
*/
|
|
1551
|
+
"on:dash-dynamic-to-static"?: EventHandler<MediaPlayerEvents['dash-dynamic-to-static']>;
|
|
1552
|
+
/**
|
|
1553
|
+
Triggered when there is an error from the element or MSE source buffer.
|
|
1554
|
+
@detail error
|
|
1555
|
+
*/
|
|
1556
|
+
"on:dash-error"?: EventHandler<MediaPlayerEvents['dash-error']>;
|
|
1557
|
+
/**
|
|
1558
|
+
Triggered when a fragment download has completed.
|
|
1559
|
+
@detail data
|
|
1560
|
+
*/
|
|
1561
|
+
"on:dash-fragment-loading-completed"?: EventHandler<MediaPlayerEvents['dash-fragment-loading-completed']>;
|
|
1562
|
+
/**
|
|
1563
|
+
Triggered when a partial fragment download has completed.
|
|
1564
|
+
undefined
|
|
1565
|
+
*/
|
|
1566
|
+
"on:dash-fragment-loading-progress"?: EventHandler<MediaPlayerEvents['dash-fragment-loading-progress']>;
|
|
1567
|
+
/**
|
|
1568
|
+
Triggered when a fragment download has started.
|
|
1569
|
+
undefined
|
|
1570
|
+
*/
|
|
1571
|
+
"on:dash-fragment-loading-started"?: EventHandler<MediaPlayerEvents['dash-fragment-loading-started']>;
|
|
1572
|
+
/**
|
|
1573
|
+
Triggered when a fragment download is abandoned due to detection of slow download base on e
|
|
1574
|
+
ABR abandon rule.
|
|
1575
|
+
@detail data
|
|
1576
|
+
*/
|
|
1577
|
+
"on:dash-fragment-loading-abandoned"?: EventHandler<MediaPlayerEvents['dash-fragment-loading-abandoned']>;
|
|
1578
|
+
/**
|
|
1579
|
+
Triggered when Debug logger methods are called.
|
|
1580
|
+
@detail data
|
|
1581
|
+
*/
|
|
1582
|
+
"on:dash-log"?: EventHandler<MediaPlayerEvents['dash-log']>;
|
|
1583
|
+
/**
|
|
1584
|
+
Triggered when the manifest load has started.
|
|
1585
|
+
undefined
|
|
1586
|
+
*/
|
|
1587
|
+
"on:dash-manifest-loading-started"?: EventHandler<MediaPlayerEvents['dash-manifest-loading-started']>;
|
|
1588
|
+
/**
|
|
1589
|
+
Triggered when the manifest loading is finished, providing the request object information.
|
|
1590
|
+
undefined
|
|
1591
|
+
*/
|
|
1592
|
+
"on:dash-manifest-loading-finished"?: EventHandler<MediaPlayerEvents['dash-manifest-loading-finished']>;
|
|
1593
|
+
/**
|
|
1594
|
+
Triggered when the manifest load is complete, providing the payload.
|
|
1595
|
+
@detail data
|
|
1596
|
+
*/
|
|
1597
|
+
"on:dash-manifest-loaded"?: EventHandler<MediaPlayerEvents['dash-manifest-loaded']>;
|
|
1598
|
+
/**
|
|
1599
|
+
Triggered anytime there is a change to the overall metrics.
|
|
1600
|
+
undefined
|
|
1601
|
+
*/
|
|
1602
|
+
"on:dash-metrics-changed"?: EventHandler<MediaPlayerEvents['dash-metrics-changed']>;
|
|
1603
|
+
/**
|
|
1604
|
+
Triggered when an individual metric is added, updated or cleared.
|
|
1605
|
+
@detail data
|
|
1606
|
+
*/
|
|
1607
|
+
"on:dash-metric-changed"?: EventHandler<MediaPlayerEvents['dash-metric-changed']>;
|
|
1608
|
+
/**
|
|
1609
|
+
Triggered every time a new metric is added.
|
|
1610
|
+
@detail data
|
|
1611
|
+
*/
|
|
1612
|
+
"on:dash-metric-added"?: EventHandler<MediaPlayerEvents['dash-metric-added']>;
|
|
1613
|
+
/**
|
|
1614
|
+
Triggered every time a metric is updated.
|
|
1615
|
+
@detail data
|
|
1616
|
+
*/
|
|
1617
|
+
"on:dash-metric-updated"?: EventHandler<MediaPlayerEvents['dash-metric-updated']>;
|
|
1618
|
+
/**
|
|
1619
|
+
Triggered when a new stream (period) starts.
|
|
1620
|
+
@detail data
|
|
1621
|
+
*/
|
|
1622
|
+
"on:dash-period-switch-started"?: EventHandler<MediaPlayerEvents['dash-period-switch-started']>;
|
|
1623
|
+
/**
|
|
1624
|
+
Triggered at the stream end of a period.
|
|
1625
|
+
@detail data
|
|
1626
|
+
*/
|
|
1627
|
+
"on:dash-period-switch-completed"?: EventHandler<MediaPlayerEvents['dash-period-switch-completed']>;
|
|
1628
|
+
/**
|
|
1629
|
+
Triggered when an ABR up /down switch is initiated; either by user in manual mode or auto de via
|
|
1630
|
+
ABR rules.
|
|
1631
|
+
@detail data
|
|
1632
|
+
*/
|
|
1633
|
+
"on:dash-quality-change-requested"?: EventHandler<MediaPlayerEvents['dash-quality-change-requested']>;
|
|
1634
|
+
/**
|
|
1635
|
+
Triggered when the new ABR quality is being rendered on-screen.
|
|
1636
|
+
@detail data
|
|
1637
|
+
*/
|
|
1638
|
+
"on:dash-quality-change-rendered"?: EventHandler<MediaPlayerEvents['dash-quality-change-rendered']>;
|
|
1639
|
+
/**
|
|
1640
|
+
Triggered when the new track is being rendered.
|
|
1641
|
+
@detail data
|
|
1642
|
+
*/
|
|
1643
|
+
"on:dash-track-change-rendered"?: EventHandler<MediaPlayerEvents['dash-track-change-rendered']>;
|
|
1644
|
+
/**
|
|
1645
|
+
Triggered when a stream (period) is being loaded.
|
|
1646
|
+
undefined
|
|
1647
|
+
*/
|
|
1648
|
+
"on:dash-stream-initializing"?: EventHandler<MediaPlayerEvents['dash-stream-initializing']>;
|
|
1649
|
+
/**
|
|
1650
|
+
Triggered when a stream (period) is loaded.
|
|
1651
|
+
undefined
|
|
1652
|
+
*/
|
|
1653
|
+
"on:dash-stream-updated"?: EventHandler<MediaPlayerEvents['dash-stream-updated']>;
|
|
1654
|
+
/**
|
|
1655
|
+
Triggered when a stream (period) is activated.
|
|
1656
|
+
undefined
|
|
1657
|
+
*/
|
|
1658
|
+
"on:dash-stream-activated"?: EventHandler<MediaPlayerEvents['dash-stream-activated']>;
|
|
1659
|
+
/**
|
|
1660
|
+
Triggered when a stream (period) is deactivated
|
|
1661
|
+
undefined
|
|
1662
|
+
*/
|
|
1663
|
+
"on:dash-stream-deactivated"?: EventHandler<MediaPlayerEvents['dash-stream-deactivated']>;
|
|
1664
|
+
/**
|
|
1665
|
+
Triggered when a stream (period) is activated.
|
|
1666
|
+
@detail data
|
|
1667
|
+
*/
|
|
1668
|
+
"on:dash-stream-initialized"?: EventHandler<MediaPlayerEvents['dash-stream-initialized']>;
|
|
1669
|
+
/**
|
|
1670
|
+
Triggered when the player has been reset.
|
|
1671
|
+
undefined
|
|
1672
|
+
*/
|
|
1673
|
+
"on:dash-stream-teardown-complete"?: EventHandler<MediaPlayerEvents['dash-stream-teardown-complete']>;
|
|
1674
|
+
/**
|
|
1675
|
+
Triggered once all text tracks detected in the MPD are added to the video element.
|
|
1676
|
+
@detail data
|
|
1677
|
+
*/
|
|
1678
|
+
"on:dash-text-tracks-added"?: EventHandler<MediaPlayerEvents['dash-text-tracks-added']>;
|
|
1679
|
+
/**
|
|
1680
|
+
Triggered when a text track is added to the video element's `TextTrackList`.
|
|
1681
|
+
@detail data
|
|
1682
|
+
*/
|
|
1683
|
+
"on:dash-text-track-added"?: EventHandler<MediaPlayerEvents['dash-text-track-added']>;
|
|
1684
|
+
/**
|
|
1685
|
+
Triggered when a text track should be shown.
|
|
1686
|
+
@detail data
|
|
1687
|
+
*/
|
|
1688
|
+
"on:dash-cue-enter"?: EventHandler<MediaPlayerEvents['dash-cue-enter']>;
|
|
1689
|
+
/**
|
|
1690
|
+
Triggered when a text track should be hidden.
|
|
1691
|
+
@detail data
|
|
1692
|
+
*/
|
|
1693
|
+
"on:dash-cue-exit"?: EventHandler<MediaPlayerEvents['dash-cue-exit']>;
|
|
1694
|
+
/**
|
|
1695
|
+
Triggered when a throughput measurement based on the last segment request has been stored.
|
|
1696
|
+
@detail data
|
|
1697
|
+
*/
|
|
1698
|
+
"on:dash-throughput-measurement-stored"?: EventHandler<MediaPlayerEvents['dash-throughput-measurement-stored']>;
|
|
1699
|
+
/**
|
|
1700
|
+
Triggered when a `ttml` chunk is parsed.
|
|
1701
|
+
@detail data
|
|
1702
|
+
*/
|
|
1703
|
+
"on:dash-ttml-parsed"?: EventHandler<MediaPlayerEvents['dash-ttml-parsed']>;
|
|
1704
|
+
/**
|
|
1705
|
+
Triggered when a `ttml` chunk has to be parsed.
|
|
1706
|
+
@detail data
|
|
1707
|
+
*/
|
|
1708
|
+
"on:dash-ttml-to-parse"?: EventHandler<MediaPlayerEvents['dash-ttml-to-parse']>;
|
|
1709
|
+
/**
|
|
1710
|
+
Triggered when a caption is rendered.
|
|
1711
|
+
@detail data
|
|
1712
|
+
*/
|
|
1713
|
+
"on:dash-caption-rendered"?: EventHandler<MediaPlayerEvents['dash-caption-rendered']>;
|
|
1714
|
+
/**
|
|
1715
|
+
Triggered when the caption container is resized.
|
|
1716
|
+
@detail data
|
|
1717
|
+
*/
|
|
1718
|
+
"on:dash-caption-container-resize"?: EventHandler<MediaPlayerEvents['dash-caption-container-resize']>;
|
|
1719
|
+
/**
|
|
1720
|
+
Sent when enough data is available that the media can be played, at least for a couple of
|
|
1721
|
+
frames. This corresponds to the `HAVE_ENOUGH_DATA` `readyState`.
|
|
1722
|
+
undefined
|
|
1723
|
+
*/
|
|
1724
|
+
"on:dash-can-play"?: EventHandler<MediaPlayerEvents['dash-can-play']>;
|
|
1725
|
+
/**
|
|
1726
|
+
This corresponds to the `CAN_PLAY_THROUGH` `readyState`.
|
|
1727
|
+
undefined
|
|
1728
|
+
*/
|
|
1729
|
+
"on:dash-can-play-through"?: EventHandler<MediaPlayerEvents['dash-can-play-through']>;
|
|
1730
|
+
/**
|
|
1731
|
+
Sent when playback completes.
|
|
1732
|
+
undefined
|
|
1733
|
+
*/
|
|
1734
|
+
"on:dash-playback-ended"?: EventHandler<MediaPlayerEvents['dash-playback-ended']>;
|
|
1735
|
+
/**
|
|
1736
|
+
Sent when an error occurs. The element's error attribute contains more information.
|
|
1737
|
+
@detail data
|
|
1738
|
+
*/
|
|
1739
|
+
"on:dash-playback-error"?: EventHandler<MediaPlayerEvents['dash-playback-error']>;
|
|
1740
|
+
/**
|
|
1741
|
+
Sent when playback is not allowed (for example if user gesture is needed).
|
|
1742
|
+
undefined
|
|
1743
|
+
*/
|
|
1744
|
+
"on:dash-playback-not-allowed"?: EventHandler<MediaPlayerEvents['dash-playback-not-allowed']>;
|
|
1745
|
+
/**
|
|
1746
|
+
The media's metadata has finished loading; all attributes now contain as much useful
|
|
1747
|
+
information as they're going to.
|
|
1748
|
+
undefined
|
|
1749
|
+
*/
|
|
1750
|
+
"on:dash-playback-metadata-loaded"?: EventHandler<MediaPlayerEvents['dash-playback-metadata-loaded']>;
|
|
1751
|
+
/**
|
|
1752
|
+
The event is fired when the frame at the current playback position of the media has finished
|
|
1753
|
+
loading; often the first frame.
|
|
1754
|
+
undefined
|
|
1755
|
+
*/
|
|
1756
|
+
"on:dash-playback-loaded-data"?: EventHandler<MediaPlayerEvents['dash-playback-loaded-data']>;
|
|
1757
|
+
/**
|
|
1758
|
+
Sent when playback is paused.
|
|
1759
|
+
@detail data
|
|
1760
|
+
*/
|
|
1761
|
+
"on:dash-playback-paused"?: EventHandler<MediaPlayerEvents['dash-playback-paused']>;
|
|
1762
|
+
/**
|
|
1763
|
+
Sent when the media begins to play (either for the first time, after having been paused,
|
|
1764
|
+
or after ending and then restarting).
|
|
1765
|
+
@detail data
|
|
1766
|
+
*/
|
|
1767
|
+
"on:dash-playback-playing"?: EventHandler<MediaPlayerEvents['dash-playback-playing']>;
|
|
1768
|
+
/**
|
|
1769
|
+
Sent periodically to inform interested parties of progress downloading the media. Information
|
|
1770
|
+
about the current amount of the media that has been downloaded is available in the media
|
|
1771
|
+
element's buffered attribute.
|
|
1772
|
+
undefined
|
|
1773
|
+
*/
|
|
1774
|
+
"on:dash-playback-progress"?: EventHandler<MediaPlayerEvents['dash-playback-progress']>;
|
|
1775
|
+
/**
|
|
1776
|
+
Sent when the playback speed changes.
|
|
1777
|
+
@detail data
|
|
1778
|
+
*/
|
|
1779
|
+
"on:dash-playback-rate-changed"?: EventHandler<MediaPlayerEvents['dash-playback-rate-changed']>;
|
|
1780
|
+
/**
|
|
1781
|
+
Sent when a seek operation completes.
|
|
1782
|
+
undefined
|
|
1783
|
+
*/
|
|
1784
|
+
"on:dash-playback-seeked"?: EventHandler<MediaPlayerEvents['dash-playback-seeked']>;
|
|
1785
|
+
/**
|
|
1786
|
+
Sent when a seek operation begins.
|
|
1787
|
+
@detail data
|
|
1788
|
+
*/
|
|
1789
|
+
"on:dash-playback-seeking"?: EventHandler<MediaPlayerEvents['dash-playback-seeking']>;
|
|
1790
|
+
/**
|
|
1791
|
+
Sent when the video element reports stalled.
|
|
1792
|
+
undefined
|
|
1793
|
+
*/
|
|
1794
|
+
"on:dash-playback-stalled"?: EventHandler<MediaPlayerEvents['dash-playback-stalled']>;
|
|
1795
|
+
/**
|
|
1796
|
+
Sent when playback of the media starts after having been paused; that is, when playback is
|
|
1797
|
+
resumed after a prior pause event.
|
|
1798
|
+
@detail data
|
|
1799
|
+
*/
|
|
1800
|
+
"on:dash-playback-started"?: EventHandler<MediaPlayerEvents['dash-playback-started']>;
|
|
1801
|
+
/**
|
|
1802
|
+
The time indicated by the element's currentTime attribute has changed.
|
|
1803
|
+
@detail data
|
|
1804
|
+
*/
|
|
1805
|
+
"on:dash-playback-time-updated"?: EventHandler<MediaPlayerEvents['dash-playback-time-updated']>;
|
|
1806
|
+
/**
|
|
1807
|
+
Sent when the video element reports that the volume has changed.
|
|
1808
|
+
undefined
|
|
1809
|
+
*/
|
|
1810
|
+
"on:dash-playback-volume-changed"?: EventHandler<MediaPlayerEvents['dash-playback-volume-changed']>;
|
|
1811
|
+
/**
|
|
1812
|
+
Sent when the media playback has stopped because of a temporary lack of data.
|
|
1813
|
+
@detail data
|
|
1814
|
+
*/
|
|
1815
|
+
"on:dash-playback-waiting"?: EventHandler<MediaPlayerEvents['dash-playback-waiting']>;
|
|
1816
|
+
/**
|
|
1817
|
+
Manifest validity changed - As a result of an MPD validity expiration event.
|
|
1818
|
+
undefined
|
|
1819
|
+
*/
|
|
1820
|
+
"on:dash-manifest-validity-changed"?: EventHandler<MediaPlayerEvents['dash-manifest-validity-changed']>;
|
|
1821
|
+
/**
|
|
1822
|
+
Dash events are triggered at their respective start points on the timeline.
|
|
1823
|
+
undefined
|
|
1824
|
+
*/
|
|
1825
|
+
"on:dash-event-mode-on-start"?: EventHandler<MediaPlayerEvents['dash-event-mode-on-start']>;
|
|
1826
|
+
/**
|
|
1827
|
+
Dash events are triggered as soon as they were parsed.
|
|
1828
|
+
undefined
|
|
1829
|
+
*/
|
|
1830
|
+
"on:dash-event-mode-on-receive"?: EventHandler<MediaPlayerEvents['dash-event-mode-on-receive']>;
|
|
1831
|
+
/**
|
|
1832
|
+
Event that is dispatched whenever the player encounters a potential conformance validation at
|
|
1833
|
+
might lead to unexpected/not optimal behavior.
|
|
1834
|
+
undefined
|
|
1835
|
+
*/
|
|
1836
|
+
"on:dash-conformance-violation"?: EventHandler<MediaPlayerEvents['dash-conformance-violation']>;
|
|
1837
|
+
/**
|
|
1838
|
+
Event that is dispatched whenever the player switches to a different representation.
|
|
1839
|
+
undefined
|
|
1840
|
+
*/
|
|
1841
|
+
"on:dash-representation-switch"?: EventHandler<MediaPlayerEvents['dash-representation-switch']>;
|
|
1842
|
+
/**
|
|
1843
|
+
Event that is dispatched whenever an adaptation set is removed due to all representations to
|
|
1844
|
+
being supported.
|
|
1845
|
+
@detail data
|
|
1846
|
+
*/
|
|
1847
|
+
"on:dash-adaptation-set-removed-no-capabilities"?: EventHandler<MediaPlayerEvents['dash-adaptation-set-removed-no-capabilities']>;
|
|
1848
|
+
/**
|
|
1849
|
+
Triggered when a content steering request has completed.
|
|
1850
|
+
undefined
|
|
1851
|
+
*/
|
|
1852
|
+
"on:dash-content-steering-request-completed"?: EventHandler<MediaPlayerEvents['dash-content-steering-request-completed']>;
|
|
1853
|
+
/**
|
|
1854
|
+
Triggered when an inband prft (ProducerReferenceTime) boxes has been received.
|
|
1855
|
+
@detail data
|
|
1856
|
+
*/
|
|
1857
|
+
"on:dash-inband-prft"?: EventHandler<MediaPlayerEvents['dash-inband-prft']>;
|
|
1858
|
+
/**
|
|
1859
|
+
The streaming attribute of the Managed Media Source is `true`.
|
|
1860
|
+
undefined
|
|
1861
|
+
*/
|
|
1862
|
+
"on:dash-managed-media-source-start-streaming"?: EventHandler<MediaPlayerEvents['dash-managed-media-source-start-streaming']>;
|
|
1863
|
+
/**
|
|
1864
|
+
The streaming attribute of the Managed Media Source is `false`.
|
|
1865
|
+
undefined
|
|
1866
|
+
*/
|
|
1867
|
+
"on:dash-managed-media-source-end-streaming"?: EventHandler<MediaPlayerEvents['dash-managed-media-source-end-streaming']>;
|
|
1868
|
+
/**
|
|
1869
|
+
Fired when the Google Cast framework starts loading.
|
|
1870
|
+
undefined
|
|
1871
|
+
*/
|
|
1872
|
+
"on:google-cast-load-start"?: EventHandler<MediaPlayerEvents['google-cast-load-start']>;
|
|
1873
|
+
/**
|
|
1874
|
+
Fired when the Google Cast framework has loaded.
|
|
1875
|
+
undefined
|
|
1876
|
+
*/
|
|
1877
|
+
"on:google-cast-loaded"?: EventHandler<MediaPlayerEvents['google-cast-loaded']>;
|
|
1878
|
+
/**
|
|
1879
|
+
Fired when the Google Cast prompt is opened/closed.
|
|
1880
|
+
undefined
|
|
1881
|
+
*/
|
|
1882
|
+
"on:google-cast-prompt-open"?: EventHandler<MediaPlayerEvents['google-cast-prompt-open']>;
|
|
1883
|
+
/**
|
|
1884
|
+
Fired when the Google Cast prompt is opened/closed.
|
|
1885
|
+
undefined
|
|
1886
|
+
*/
|
|
1887
|
+
"on:google-cast-prompt-close"?: EventHandler<MediaPlayerEvents['google-cast-prompt-close']>;
|
|
1888
|
+
/**
|
|
1889
|
+
Fired when requesting Google Cast has failed.
|
|
1890
|
+
undefined
|
|
1891
|
+
*/
|
|
1892
|
+
"on:google-cast-prompt-error"?: EventHandler<MediaPlayerEvents['google-cast-prompt-error']>;
|
|
1893
|
+
}
|
|
1894
|
+
|
|
1895
|
+
/**********************************************************************************************
|
|
1896
|
+
* MediaPoster
|
|
1897
|
+
/**********************************************************************************************/
|
|
1898
|
+
|
|
1899
|
+
|
|
1900
|
+
export interface MediaPosterAttributes extends Partial<PosterProps>, Omit<import('svelte/elements').HTMLAttributes<MediaPosterElement>, keyof PosterProps | "is"> {
|
|
1901
|
+
'keep-alive'?: boolean;
|
|
1902
|
+
}
|
|
1903
|
+
|
|
1904
|
+
|
|
1905
|
+
/**********************************************************************************************
|
|
1906
|
+
* MediaProvider
|
|
1907
|
+
/**********************************************************************************************/
|
|
1908
|
+
|
|
1909
|
+
|
|
1910
|
+
export interface MediaProviderAttributes extends Partial<MediaProviderProps>, Omit<import('svelte/elements').HTMLAttributes<MediaProviderElement>, keyof MediaProviderProps | "is"> {
|
|
1911
|
+
'keep-alive'?: boolean;
|
|
1912
|
+
}
|
|
1913
|
+
|
|
1914
|
+
|
|
1915
|
+
/**********************************************************************************************
|
|
1916
|
+
* MediaAudioGainSlider
|
|
1917
|
+
/**********************************************************************************************/
|
|
1918
|
+
|
|
1919
|
+
|
|
1920
|
+
export interface MediaAudioGainSliderAttributes extends Partial<AudioGainSliderProps>, MediaAudioGainSliderEventAttributes, Omit<import('svelte/elements').HTMLAttributes<MediaAudioGainSliderElement>, keyof AudioGainSliderProps | keyof MediaAudioGainSliderEventAttributes | "is"> {
|
|
1921
|
+
'keep-alive'?: boolean;
|
|
1922
|
+
}
|
|
1923
|
+
|
|
1924
|
+
export interface MediaAudioGainSliderEventAttributes {
|
|
1925
|
+
/**
|
|
1926
|
+
Fired when the user begins interacting with the slider and dragging the thumb. The event
|
|
1927
|
+
detail contains the current value the drag is starting at.
|
|
1928
|
+
@detail value
|
|
1929
|
+
*/
|
|
1930
|
+
"on:drag-start"?: EventHandler<AudioGainSliderEvents['drag-start']>;
|
|
1931
|
+
/**
|
|
1932
|
+
Fired when the user stops dragging the slider thumb. The event detail contains the value
|
|
1933
|
+
the drag is ending at.
|
|
1934
|
+
@detail value
|
|
1935
|
+
*/
|
|
1936
|
+
"on:drag-end"?: EventHandler<AudioGainSliderEvents['drag-end']>;
|
|
1937
|
+
/**
|
|
1938
|
+
Fired when the slider value changes. The event detail contains the current value.
|
|
1939
|
+
@detail value
|
|
1940
|
+
*/
|
|
1941
|
+
"on:value-change"?: EventHandler<AudioGainSliderEvents['value-change']>;
|
|
1942
|
+
/**
|
|
1943
|
+
Fired when the slider drag value changes. The drag value indicates the last slider value that
|
|
1944
|
+
the user has dragged to. The event detail contains the value.
|
|
1945
|
+
@detail value
|
|
1946
|
+
*/
|
|
1947
|
+
"on:drag-value-change"?: EventHandler<AudioGainSliderEvents['drag-value-change']>;
|
|
1948
|
+
/**
|
|
1949
|
+
Fired when the device pointer is inside the slider region and it's position changes. The
|
|
1950
|
+
event detail contains the preview value. Do note, this includes touch, mouse, and keyboard
|
|
1951
|
+
devices.
|
|
1952
|
+
@detail pointerValue
|
|
1953
|
+
*/
|
|
1954
|
+
"on:pointer-value-change"?: EventHandler<AudioGainSliderEvents['pointer-value-change']>;
|
|
1955
|
+
/**
|
|
1956
|
+
Fired when requesting to change the current audio gain.
|
|
1957
|
+
@detail gain
|
|
1958
|
+
*/
|
|
1959
|
+
"on:media-audio-gain-change-request"?: EventHandler<AudioGainSliderEvents['media-audio-gain-change-request']>;
|
|
1960
|
+
}
|
|
1961
|
+
|
|
1962
|
+
/**********************************************************************************************
|
|
1963
|
+
* MediaQualitySlider
|
|
1964
|
+
/**********************************************************************************************/
|
|
1965
|
+
|
|
1966
|
+
|
|
1967
|
+
export interface MediaQualitySliderAttributes extends Partial<QualitySliderProps>, MediaQualitySliderEventAttributes, Omit<import('svelte/elements').HTMLAttributes<MediaQualitySliderElement>, keyof QualitySliderProps | keyof MediaQualitySliderEventAttributes | "is"> {
|
|
1968
|
+
'keep-alive'?: boolean;
|
|
1969
|
+
}
|
|
1970
|
+
|
|
1971
|
+
export interface MediaQualitySliderEventAttributes {
|
|
1972
|
+
/**
|
|
1973
|
+
Fired when the user begins interacting with the slider and dragging the thumb. The event
|
|
1974
|
+
detail contains the current value the drag is starting at.
|
|
1975
|
+
@detail value
|
|
1976
|
+
*/
|
|
1977
|
+
"on:drag-start"?: EventHandler<QualitySliderEvents['drag-start']>;
|
|
1978
|
+
/**
|
|
1979
|
+
Fired when the user stops dragging the slider thumb. The event detail contains the value
|
|
1980
|
+
the drag is ending at.
|
|
1981
|
+
@detail value
|
|
1982
|
+
*/
|
|
1983
|
+
"on:drag-end"?: EventHandler<QualitySliderEvents['drag-end']>;
|
|
1984
|
+
/**
|
|
1985
|
+
Fired when the slider value changes. The event detail contains the current value.
|
|
1986
|
+
@detail value
|
|
1987
|
+
*/
|
|
1988
|
+
"on:value-change"?: EventHandler<QualitySliderEvents['value-change']>;
|
|
1989
|
+
/**
|
|
1990
|
+
Fired when the slider drag value changes. The drag value indicates the last slider value that
|
|
1991
|
+
the user has dragged to. The event detail contains the value.
|
|
1992
|
+
@detail value
|
|
1993
|
+
*/
|
|
1994
|
+
"on:drag-value-change"?: EventHandler<QualitySliderEvents['drag-value-change']>;
|
|
1995
|
+
/**
|
|
1996
|
+
Fired when the device pointer is inside the slider region and it's position changes. The
|
|
1997
|
+
event detail contains the preview value. Do note, this includes touch, mouse, and keyboard
|
|
1998
|
+
devices.
|
|
1999
|
+
@detail pointerValue
|
|
2000
|
+
*/
|
|
2001
|
+
"on:pointer-value-change"?: EventHandler<QualitySliderEvents['pointer-value-change']>;
|
|
2002
|
+
/**
|
|
2003
|
+
Fired when requesting to change the current video quality to the given index in the
|
|
2004
|
+
`VideoQualityList` on the player.
|
|
2005
|
+
@detail qualityIndex
|
|
2006
|
+
*/
|
|
2007
|
+
"on:media-quality-change-request"?: EventHandler<QualitySliderEvents['media-quality-change-request']>;
|
|
2008
|
+
}
|
|
2009
|
+
|
|
2010
|
+
/**********************************************************************************************
|
|
2011
|
+
* MediaSliderChapters
|
|
2012
|
+
/**********************************************************************************************/
|
|
2013
|
+
|
|
2014
|
+
|
|
2015
|
+
export interface MediaSliderChaptersAttributes extends Partial<SliderChaptersProps>, MediaSliderChaptersEventAttributes, Omit<import('svelte/elements').HTMLAttributes<MediaSliderChaptersElement>, keyof SliderChaptersProps | keyof MediaSliderChaptersEventAttributes | "is"> {
|
|
2016
|
+
'keep-alive'?: boolean;
|
|
2017
|
+
}
|
|
2018
|
+
|
|
2019
|
+
export interface MediaSliderChaptersEventAttributes {
|
|
2020
|
+
/**
|
|
2021
|
+
The percentage of the chapter that is filled.
|
|
2022
|
+
undefined
|
|
2023
|
+
*/
|
|
2024
|
+
"on:chapter-fill"?: EventHandler<SliderChaptersCSSVars['chapter-fill']>;
|
|
2025
|
+
/**
|
|
2026
|
+
The percentage of the chapter that has been buffered.
|
|
2027
|
+
undefined
|
|
2028
|
+
*/
|
|
2029
|
+
"on:chapter-progress"?: EventHandler<SliderChaptersCSSVars['chapter-progress']>;
|
|
2030
|
+
}
|
|
2031
|
+
|
|
2032
|
+
/**********************************************************************************************
|
|
2033
|
+
* MediaSlider
|
|
2034
|
+
/**********************************************************************************************/
|
|
2035
|
+
|
|
2036
|
+
|
|
2037
|
+
export interface MediaSliderAttributes extends Partial<SliderProps>, MediaSliderEventAttributes, Omit<import('svelte/elements').HTMLAttributes<MediaSliderElement>, keyof SliderProps | keyof MediaSliderEventAttributes | "is"> {
|
|
2038
|
+
'keep-alive'?: boolean;
|
|
2039
|
+
}
|
|
2040
|
+
|
|
2041
|
+
export interface MediaSliderEventAttributes {
|
|
2042
|
+
/**
|
|
2043
|
+
Fired when the user begins interacting with the slider and dragging the thumb. The event
|
|
2044
|
+
detail contains the current value the drag is starting at.
|
|
2045
|
+
@detail value
|
|
2046
|
+
*/
|
|
2047
|
+
"on:drag-start"?: EventHandler<SliderEvents['drag-start']>;
|
|
2048
|
+
/**
|
|
2049
|
+
Fired when the user stops dragging the slider thumb. The event detail contains the value
|
|
2050
|
+
the drag is ending at.
|
|
2051
|
+
@detail value
|
|
2052
|
+
*/
|
|
2053
|
+
"on:drag-end"?: EventHandler<SliderEvents['drag-end']>;
|
|
2054
|
+
/**
|
|
2055
|
+
Fired when the slider value changes. The event detail contains the current value.
|
|
2056
|
+
@detail value
|
|
2057
|
+
*/
|
|
2058
|
+
"on:value-change"?: EventHandler<SliderEvents['value-change']>;
|
|
2059
|
+
/**
|
|
2060
|
+
Fired when the slider drag value changes. The drag value indicates the last slider value that
|
|
2061
|
+
the user has dragged to. The event detail contains the value.
|
|
2062
|
+
@detail value
|
|
2063
|
+
*/
|
|
2064
|
+
"on:drag-value-change"?: EventHandler<SliderEvents['drag-value-change']>;
|
|
2065
|
+
/**
|
|
2066
|
+
Fired when the device pointer is inside the slider region and it's position changes. The
|
|
2067
|
+
event detail contains the preview value. Do note, this includes touch, mouse, and keyboard
|
|
2068
|
+
devices.
|
|
2069
|
+
@detail pointerValue
|
|
2070
|
+
*/
|
|
2071
|
+
"on:pointer-value-change"?: EventHandler<SliderEvents['pointer-value-change']>;
|
|
2072
|
+
}
|
|
2073
|
+
|
|
2074
|
+
/**********************************************************************************************
|
|
2075
|
+
* MediaSliderPreview
|
|
2076
|
+
/**********************************************************************************************/
|
|
2077
|
+
|
|
2078
|
+
|
|
2079
|
+
export interface MediaSliderPreviewAttributes extends Partial<SliderPreviewProps>, Omit<import('svelte/elements').HTMLAttributes<MediaSliderPreviewElement>, keyof SliderPreviewProps | "is"> {
|
|
2080
|
+
'keep-alive'?: boolean;
|
|
2081
|
+
}
|
|
2082
|
+
|
|
2083
|
+
|
|
2084
|
+
/**********************************************************************************************
|
|
2085
|
+
* MediaSliderSteps
|
|
2086
|
+
/**********************************************************************************************/
|
|
2087
|
+
|
|
2088
|
+
|
|
2089
|
+
export interface MediaSliderStepsAttributes extends Omit<import('svelte/elements').HTMLAttributes<MediaSliderStepsElement>, "is"> {
|
|
2090
|
+
'keep-alive'?: boolean;
|
|
2091
|
+
}
|
|
2092
|
+
|
|
2093
|
+
|
|
2094
|
+
/**********************************************************************************************
|
|
2095
|
+
* MediaSliderThumbnail
|
|
2096
|
+
/**********************************************************************************************/
|
|
2097
|
+
|
|
2098
|
+
|
|
2099
|
+
export interface MediaSliderThumbnailAttributes extends Partial<ThumbnailProps>, Omit<import('svelte/elements').HTMLAttributes<MediaSliderThumbnailElement>, keyof ThumbnailProps | "is"> {
|
|
2100
|
+
'keep-alive'?: boolean;
|
|
2101
|
+
}
|
|
2102
|
+
|
|
2103
|
+
|
|
2104
|
+
/**********************************************************************************************
|
|
2105
|
+
* MediaSliderValue
|
|
2106
|
+
/**********************************************************************************************/
|
|
2107
|
+
|
|
2108
|
+
|
|
2109
|
+
export interface MediaSliderValueAttributes extends Partial<SliderValueProps>, Omit<import('svelte/elements').HTMLAttributes<MediaSliderValueElement>, keyof SliderValueProps | "is"> {
|
|
2110
|
+
'keep-alive'?: boolean;
|
|
2111
|
+
}
|
|
2112
|
+
|
|
2113
|
+
|
|
2114
|
+
/**********************************************************************************************
|
|
2115
|
+
* MediaSliderVideo
|
|
2116
|
+
/**********************************************************************************************/
|
|
2117
|
+
|
|
2118
|
+
|
|
2119
|
+
export interface MediaSliderVideoAttributes extends Partial<SliderVideoProps>, MediaSliderVideoEventAttributes, Omit<import('svelte/elements').HTMLAttributes<MediaSliderVideoElement>, keyof SliderVideoProps | keyof MediaSliderVideoEventAttributes | "is"> {
|
|
2120
|
+
'keep-alive'?: boolean;
|
|
2121
|
+
}
|
|
2122
|
+
|
|
2123
|
+
export interface MediaSliderVideoEventAttributes {
|
|
2124
|
+
/**
|
|
2125
|
+
Fired when the user agent can play the media, but estimates that **not enough** data has been
|
|
2126
|
+
loaded to play the media up to its end without having to stop for further buffering of content.
|
|
2127
|
+
@see https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/canplay_event
|
|
2128
|
+
*/
|
|
2129
|
+
"on:can-play"?: EventHandler<SliderVideoEvents['can-play']>;
|
|
2130
|
+
/**
|
|
2131
|
+
Fired when media loading or playback has encountered any issues (for example, a network
|
|
2132
|
+
connectivity problem). The event detail contains a potential message containing more
|
|
2133
|
+
information about the error (empty string if nothing available), and a code that identifies
|
|
2134
|
+
the general type of error that occurred.
|
|
2135
|
+
@see https://html.spec.whatwg.org/multipage/media.html#error-codes
|
|
2136
|
+
@see https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/error_event
|
|
2137
|
+
*/
|
|
2138
|
+
"on:error"?: EventHandler<SliderVideoEvents['error']>;
|
|
2139
|
+
}
|
|
2140
|
+
|
|
2141
|
+
/**********************************************************************************************
|
|
2142
|
+
* MediaSpeedSlider
|
|
2143
|
+
/**********************************************************************************************/
|
|
2144
|
+
|
|
2145
|
+
|
|
2146
|
+
export interface MediaSpeedSliderAttributes extends Partial<SpeedSliderProps>, MediaSpeedSliderEventAttributes, Omit<import('svelte/elements').HTMLAttributes<MediaSpeedSliderElement>, keyof SpeedSliderProps | keyof MediaSpeedSliderEventAttributes | "is"> {
|
|
2147
|
+
'keep-alive'?: boolean;
|
|
2148
|
+
}
|
|
2149
|
+
|
|
2150
|
+
export interface MediaSpeedSliderEventAttributes {
|
|
2151
|
+
/**
|
|
2152
|
+
Fired when the user begins interacting with the slider and dragging the thumb. The event
|
|
2153
|
+
detail contains the current value the drag is starting at.
|
|
2154
|
+
@detail value
|
|
2155
|
+
*/
|
|
2156
|
+
"on:drag-start"?: EventHandler<SpeedSliderEvents['drag-start']>;
|
|
2157
|
+
/**
|
|
2158
|
+
Fired when the user stops dragging the slider thumb. The event detail contains the value
|
|
2159
|
+
the drag is ending at.
|
|
2160
|
+
@detail value
|
|
2161
|
+
*/
|
|
2162
|
+
"on:drag-end"?: EventHandler<SpeedSliderEvents['drag-end']>;
|
|
2163
|
+
/**
|
|
2164
|
+
Fired when the slider value changes. The event detail contains the current value.
|
|
2165
|
+
@detail value
|
|
2166
|
+
*/
|
|
2167
|
+
"on:value-change"?: EventHandler<SpeedSliderEvents['value-change']>;
|
|
2168
|
+
/**
|
|
2169
|
+
Fired when the slider drag value changes. The drag value indicates the last slider value that
|
|
2170
|
+
the user has dragged to. The event detail contains the value.
|
|
2171
|
+
@detail value
|
|
2172
|
+
*/
|
|
2173
|
+
"on:drag-value-change"?: EventHandler<SpeedSliderEvents['drag-value-change']>;
|
|
2174
|
+
/**
|
|
2175
|
+
Fired when the device pointer is inside the slider region and it's position changes. The
|
|
2176
|
+
event detail contains the preview value. Do note, this includes touch, mouse, and keyboard
|
|
2177
|
+
devices.
|
|
2178
|
+
@detail pointerValue
|
|
2179
|
+
*/
|
|
2180
|
+
"on:pointer-value-change"?: EventHandler<SpeedSliderEvents['pointer-value-change']>;
|
|
2181
|
+
/**
|
|
2182
|
+
Fired when requesting to change the current playback rate.
|
|
2183
|
+
@detail rate
|
|
2184
|
+
*/
|
|
2185
|
+
"on:media-rate-change-request"?: EventHandler<SpeedSliderEvents['media-rate-change-request']>;
|
|
2186
|
+
}
|
|
2187
|
+
|
|
2188
|
+
/**********************************************************************************************
|
|
2189
|
+
* MediaTimeSlider
|
|
2190
|
+
/**********************************************************************************************/
|
|
2191
|
+
|
|
2192
|
+
|
|
2193
|
+
export interface MediaTimeSliderAttributes extends Partial<TimeSliderProps>, MediaTimeSliderEventAttributes, Omit<import('svelte/elements').HTMLAttributes<MediaTimeSliderElement>, keyof TimeSliderProps | keyof MediaTimeSliderEventAttributes | "is"> {
|
|
2194
|
+
'keep-alive'?: boolean;
|
|
2195
|
+
}
|
|
2196
|
+
|
|
2197
|
+
export interface MediaTimeSliderEventAttributes {
|
|
2198
|
+
/**
|
|
2199
|
+
Fired when the user begins interacting with the slider and dragging the thumb. The event
|
|
2200
|
+
detail contains the current value the drag is starting at.
|
|
2201
|
+
@detail value
|
|
2202
|
+
*/
|
|
2203
|
+
"on:drag-start"?: EventHandler<TimeSliderEvents['drag-start']>;
|
|
2204
|
+
/**
|
|
2205
|
+
Fired when the user stops dragging the slider thumb. The event detail contains the value
|
|
2206
|
+
the drag is ending at.
|
|
2207
|
+
@detail value
|
|
2208
|
+
*/
|
|
2209
|
+
"on:drag-end"?: EventHandler<TimeSliderEvents['drag-end']>;
|
|
2210
|
+
/**
|
|
2211
|
+
Fired when the slider value changes. The event detail contains the current value.
|
|
2212
|
+
@detail value
|
|
2213
|
+
*/
|
|
2214
|
+
"on:value-change"?: EventHandler<TimeSliderEvents['value-change']>;
|
|
2215
|
+
/**
|
|
2216
|
+
Fired when the slider drag value changes. The drag value indicates the last slider value that
|
|
2217
|
+
the user has dragged to. The event detail contains the value.
|
|
2218
|
+
@detail value
|
|
2219
|
+
*/
|
|
2220
|
+
"on:drag-value-change"?: EventHandler<TimeSliderEvents['drag-value-change']>;
|
|
2221
|
+
/**
|
|
2222
|
+
Fired when the device pointer is inside the slider region and it's position changes. The
|
|
2223
|
+
event detail contains the preview value. Do note, this includes touch, mouse, and keyboard
|
|
2224
|
+
devices.
|
|
2225
|
+
@detail pointerValue
|
|
2226
|
+
*/
|
|
2227
|
+
"on:pointer-value-change"?: EventHandler<TimeSliderEvents['pointer-value-change']>;
|
|
2228
|
+
/**
|
|
2229
|
+
Fired when requesting media to seek to the live edge (i.e., set the current time to the current
|
|
2230
|
+
live time).
|
|
2231
|
+
undefined
|
|
2232
|
+
*/
|
|
2233
|
+
"on:media-live-edge-request"?: EventHandler<TimeSliderEvents['media-live-edge-request']>;
|
|
2234
|
+
/**
|
|
2235
|
+
Fired when requesting media playback to begin/resume.
|
|
2236
|
+
undefined
|
|
2237
|
+
*/
|
|
2238
|
+
"on:media-play-request"?: EventHandler<TimeSliderEvents['media-play-request']>;
|
|
2239
|
+
/**
|
|
2240
|
+
Fired when requesting media playback to temporarily stop.
|
|
2241
|
+
undefined
|
|
2242
|
+
*/
|
|
2243
|
+
"on:media-pause-request"?: EventHandler<TimeSliderEvents['media-pause-request']>;
|
|
2244
|
+
/**
|
|
2245
|
+
Fired when requesting a time change. In other words, moving the play head to a new position.
|
|
2246
|
+
@detail seekTo
|
|
2247
|
+
*/
|
|
2248
|
+
"on:media-seek-request"?: EventHandler<TimeSliderEvents['media-seek-request']>;
|
|
2249
|
+
/**
|
|
2250
|
+
Fired when seeking/scrubbing to a new playback position.
|
|
2251
|
+
@detail time
|
|
2252
|
+
*/
|
|
2253
|
+
"on:media-seeking-request"?: EventHandler<TimeSliderEvents['media-seeking-request']>;
|
|
2254
|
+
}
|
|
2255
|
+
|
|
2256
|
+
/**********************************************************************************************
|
|
2257
|
+
* MediaVolumeSlider
|
|
2258
|
+
/**********************************************************************************************/
|
|
2259
|
+
|
|
2260
|
+
|
|
2261
|
+
export interface MediaVolumeSliderAttributes extends Partial<VolumeSliderProps>, MediaVolumeSliderEventAttributes, Omit<import('svelte/elements').HTMLAttributes<MediaVolumeSliderElement>, keyof VolumeSliderProps | keyof MediaVolumeSliderEventAttributes | "is"> {
|
|
2262
|
+
'keep-alive'?: boolean;
|
|
2263
|
+
}
|
|
2264
|
+
|
|
2265
|
+
export interface MediaVolumeSliderEventAttributes {
|
|
2266
|
+
/**
|
|
2267
|
+
Fired when the user begins interacting with the slider and dragging the thumb. The event
|
|
2268
|
+
detail contains the current value the drag is starting at.
|
|
2269
|
+
@detail value
|
|
2270
|
+
*/
|
|
2271
|
+
"on:drag-start"?: EventHandler<VolumeSliderEvents['drag-start']>;
|
|
2272
|
+
/**
|
|
2273
|
+
Fired when the user stops dragging the slider thumb. The event detail contains the value
|
|
2274
|
+
the drag is ending at.
|
|
2275
|
+
@detail value
|
|
2276
|
+
*/
|
|
2277
|
+
"on:drag-end"?: EventHandler<VolumeSliderEvents['drag-end']>;
|
|
2278
|
+
/**
|
|
2279
|
+
Fired when the slider value changes. The event detail contains the current value.
|
|
2280
|
+
@detail value
|
|
2281
|
+
*/
|
|
2282
|
+
"on:value-change"?: EventHandler<VolumeSliderEvents['value-change']>;
|
|
2283
|
+
/**
|
|
2284
|
+
Fired when the slider drag value changes. The drag value indicates the last slider value that
|
|
2285
|
+
the user has dragged to. The event detail contains the value.
|
|
2286
|
+
@detail value
|
|
2287
|
+
*/
|
|
2288
|
+
"on:drag-value-change"?: EventHandler<VolumeSliderEvents['drag-value-change']>;
|
|
2289
|
+
/**
|
|
2290
|
+
Fired when the device pointer is inside the slider region and it's position changes. The
|
|
2291
|
+
event detail contains the preview value. Do note, this includes touch, mouse, and keyboard
|
|
2292
|
+
devices.
|
|
2293
|
+
@detail pointerValue
|
|
2294
|
+
*/
|
|
2295
|
+
"on:pointer-value-change"?: EventHandler<VolumeSliderEvents['pointer-value-change']>;
|
|
2296
|
+
/**
|
|
2297
|
+
Fired when requesting the media volume to be set to a new level.
|
|
2298
|
+
@detail volume
|
|
2299
|
+
*/
|
|
2300
|
+
"on:media-volume-change-request"?: EventHandler<VolumeSliderEvents['media-volume-change-request']>;
|
|
2301
|
+
}
|
|
2302
|
+
|
|
2303
|
+
/**********************************************************************************************
|
|
2304
|
+
* MediaSpinner
|
|
2305
|
+
/**********************************************************************************************/
|
|
2306
|
+
|
|
2307
|
+
|
|
2308
|
+
export interface MediaSpinnerAttributes extends Partial<SpinnerProps>, Omit<import('svelte/elements').HTMLAttributes<MediaSpinnerElement>, keyof SpinnerProps | "is"> {
|
|
2309
|
+
'keep-alive'?: boolean;
|
|
2310
|
+
}
|
|
2311
|
+
|
|
2312
|
+
|
|
2313
|
+
/**********************************************************************************************
|
|
2314
|
+
* MediaThumbnail
|
|
2315
|
+
/**********************************************************************************************/
|
|
2316
|
+
|
|
2317
|
+
|
|
2318
|
+
export interface MediaThumbnailAttributes extends Partial<ThumbnailProps>, Omit<import('svelte/elements').HTMLAttributes<MediaThumbnailElement>, keyof ThumbnailProps | "is"> {
|
|
2319
|
+
'keep-alive'?: boolean;
|
|
2320
|
+
}
|
|
2321
|
+
|
|
2322
|
+
|
|
2323
|
+
/**********************************************************************************************
|
|
2324
|
+
* MediaTime
|
|
2325
|
+
/**********************************************************************************************/
|
|
2326
|
+
|
|
2327
|
+
|
|
2328
|
+
export interface MediaTimeAttributes extends Partial<TimeProps>, Omit<import('svelte/elements').HTMLAttributes<MediaTimeElement>, keyof TimeProps | "is"> {
|
|
2329
|
+
'keep-alive'?: boolean;
|
|
2330
|
+
}
|
|
2331
|
+
|
|
2332
|
+
|
|
2333
|
+
/**********************************************************************************************
|
|
2334
|
+
* MediaTitle
|
|
2335
|
+
/**********************************************************************************************/
|
|
2336
|
+
|
|
2337
|
+
|
|
2338
|
+
export interface MediaTitleAttributes extends Omit<import('svelte/elements').HTMLAttributes<MediaTitleElement>, "is"> {
|
|
2339
|
+
'keep-alive'?: boolean;
|
|
2340
|
+
}
|
|
2341
|
+
|
|
2342
|
+
|
|
2343
|
+
/**********************************************************************************************
|
|
2344
|
+
* MediaTooltipContent
|
|
2345
|
+
/**********************************************************************************************/
|
|
2346
|
+
|
|
2347
|
+
|
|
2348
|
+
export interface MediaTooltipContentAttributes extends Partial<TooltipContentProps>, Omit<import('svelte/elements').HTMLAttributes<MediaTooltipContentElement>, keyof TooltipContentProps | "is"> {
|
|
2349
|
+
'keep-alive'?: boolean;
|
|
2350
|
+
}
|
|
2351
|
+
|
|
2352
|
+
|
|
2353
|
+
/**********************************************************************************************
|
|
2354
|
+
* MediaTooltip
|
|
2355
|
+
/**********************************************************************************************/
|
|
2356
|
+
|
|
2357
|
+
|
|
2358
|
+
export interface MediaTooltipAttributes extends Partial<TooltipProps>, Omit<import('svelte/elements').HTMLAttributes<MediaTooltipElement>, keyof TooltipProps | "is"> {
|
|
2359
|
+
'keep-alive'?: boolean;
|
|
2360
|
+
}
|
|
2361
|
+
|
|
2362
|
+
|
|
2363
|
+
/**********************************************************************************************
|
|
2364
|
+
* MediaTooltipTrigger
|
|
2365
|
+
/**********************************************************************************************/
|
|
2366
|
+
|
|
2367
|
+
|
|
2368
|
+
export interface MediaTooltipTriggerAttributes extends Omit<import('svelte/elements').HTMLAttributes<MediaTooltipTriggerElement>, "is"> {
|
|
2369
|
+
'keep-alive'?: boolean;
|
|
2370
|
+
}
|
|
2371
|
+
|