@theoplayer/extended 8.8.3 → 8.9.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/THEOplayer.chromeless.d.ts +1 -1
- package/THEOplayer.chromeless.esm.js +3 -3
- package/THEOplayer.chromeless.js +3 -3
- package/THEOplayer.common.d.ts +17 -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.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
|
*
|
|
@@ -11768,7 +11782,7 @@ interface ID3BaseFrame {
|
|
|
11768
11782
|
* The identifier of the frame.
|
|
11769
11783
|
*
|
|
11770
11784
|
* @remarks
|
|
11771
|
-
* <br/> - See {@link
|
|
11785
|
+
* <br/> - See {@link https://id3.org/id3v2.4.0-frames | id3v2.4.0-frames - ID3.org}.
|
|
11772
11786
|
*/
|
|
11773
11787
|
id: string;
|
|
11774
11788
|
}
|
|
@@ -11803,7 +11817,7 @@ interface ID3AttachedPicture extends ID3BaseFrame {
|
|
|
11803
11817
|
* The type of the attached picture.
|
|
11804
11818
|
*
|
|
11805
11819
|
* @remarks
|
|
11806
|
-
* <br/> - See section 4.14 of {@link
|
|
11820
|
+
* <br/> - See section 4.14 of {@link https://id3.org/id3v2.4.0-frames | id3v2.4.0-frames - ID3.org}.
|
|
11807
11821
|
*/
|
|
11808
11822
|
pictureType: number;
|
|
11809
11823
|
/**
|