@theoplayer/extended 8.8.3 → 8.10.0
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/README.md +1 -1
- package/THEOplayer.chromeless.d.ts +1 -1
- package/THEOplayer.chromeless.esm.js +3 -3
- package/THEOplayer.chromeless.js +3 -3
- package/THEOplayer.common.d.ts +18 -3
- package/THEOplayer.common.esm.js +3 -3
- package/THEOplayer.d.ts +1 -1
- package/THEOplayer.esm.js +3 -3
- package/THEOplayer.js +3 -3
- package/THEOplayer.transmux.asmjs.js +3 -3
- package/THEOplayer.transmux.js +3 -3
- package/package.json +1 -1
- package/theoplayer.d.js +3 -3
- package/theoplayer.sw.js +30 -0
package/THEOplayer.common.d.ts
CHANGED
|
@@ -309,6 +309,10 @@ declare enum ErrorCode {
|
|
|
309
309
|
* Changing the presentation to fullscreen was not possible.
|
|
310
310
|
*/
|
|
311
311
|
FULLSCREEN_ERROR = 11000,
|
|
312
|
+
/**
|
|
313
|
+
* Changing the presentation to picture-in-picture was not possible.
|
|
314
|
+
*/
|
|
315
|
+
PICTURE_IN_PICTURE_ERROR = 11001,
|
|
312
316
|
/**
|
|
313
317
|
* Something went wrong while caching a source.
|
|
314
318
|
*/
|
|
@@ -3363,6 +3367,15 @@ interface DashPlaybackConfiguration {
|
|
|
3363
3367
|
* @internal
|
|
3364
3368
|
*/
|
|
3365
3369
|
forceHardSwitchWhenSeekingBackwards?: boolean;
|
|
3370
|
+
/**
|
|
3371
|
+
* A flag to indicate whether or not timestamps of segmented WebVTT subtitles are relative to the segment start time.
|
|
3372
|
+
*
|
|
3373
|
+
* @remarks
|
|
3374
|
+
* <br/> - Available since v8.9.0.
|
|
3375
|
+
*
|
|
3376
|
+
* @defaultValue `true`
|
|
3377
|
+
*/
|
|
3378
|
+
segmentRelativeVttTiming?: boolean;
|
|
3366
3379
|
}
|
|
3367
3380
|
|
|
3368
3381
|
/**
|
|
@@ -6033,11 +6046,12 @@ interface WebAudio {
|
|
|
6033
6046
|
* <br/> - `'inline'`: The player is shown in its original location on the page.
|
|
6034
6047
|
* <br/> - `'fullscreen'`: The player fills the entire screen.
|
|
6035
6048
|
* <br/> - `'picture-in-picture'`: The player is shown on top of the page (see {@link PiPConfiguration} for more options).
|
|
6049
|
+
* <br/> - `'native-picture-in-picture'`: [Experimental] The player requests out-of-app picture-in-picture mode. Not supported on Firefox.
|
|
6036
6050
|
*
|
|
6037
6051
|
* @category Player
|
|
6038
6052
|
* @public
|
|
6039
6053
|
*/
|
|
6040
|
-
type PresentationMode = 'inline' | 'fullscreen' | 'picture-in-picture';
|
|
6054
|
+
type PresentationMode = 'inline' | 'fullscreen' | 'picture-in-picture' | 'native-picture-in-picture';
|
|
6041
6055
|
/**
|
|
6042
6056
|
* Fired when the presentation mode changes.
|
|
6043
6057
|
*
|
|
@@ -9266,6 +9280,7 @@ interface PublicationLoadStartEvent extends Event<'publicationloadstart'> {
|
|
|
9266
9280
|
*/
|
|
9267
9281
|
interface PublicationLoadedEvent extends Event<'publicationloaded'> {
|
|
9268
9282
|
readonly publicationId: string;
|
|
9283
|
+
readonly channelName: string;
|
|
9269
9284
|
}
|
|
9270
9285
|
/**
|
|
9271
9286
|
* Fired when loading a THEOlive publication that cannot be played, for example because the publication is stopped.
|
|
@@ -11768,7 +11783,7 @@ interface ID3BaseFrame {
|
|
|
11768
11783
|
* The identifier of the frame.
|
|
11769
11784
|
*
|
|
11770
11785
|
* @remarks
|
|
11771
|
-
* <br/> - See {@link
|
|
11786
|
+
* <br/> - See {@link https://id3.org/id3v2.4.0-frames | id3v2.4.0-frames - ID3.org}.
|
|
11772
11787
|
*/
|
|
11773
11788
|
id: string;
|
|
11774
11789
|
}
|
|
@@ -11803,7 +11818,7 @@ interface ID3AttachedPicture extends ID3BaseFrame {
|
|
|
11803
11818
|
* The type of the attached picture.
|
|
11804
11819
|
*
|
|
11805
11820
|
* @remarks
|
|
11806
|
-
* <br/> - See section 4.14 of {@link
|
|
11821
|
+
* <br/> - See section 4.14 of {@link https://id3.org/id3v2.4.0-frames | id3v2.4.0-frames - ID3.org}.
|
|
11807
11822
|
*/
|
|
11808
11823
|
pictureType: number;
|
|
11809
11824
|
/**
|