@theoplayer/extended 4.10.0 → 4.12.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.js +3 -3
- package/THEOplayer.d.ts +51 -1
- 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.e.js +3 -3
- package/theoplayer.p.js +3 -3
package/THEOplayer.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* THEOplayer
|
|
3
3
|
* https://www.theoplayer.com
|
|
4
4
|
*
|
|
5
|
-
* Version: 2023.
|
|
5
|
+
* Version: 2023.2.0 (4.12.0)
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
8
|
/**
|
|
@@ -2977,6 +2977,19 @@ export declare interface DashPlaybackConfiguration {
|
|
|
2977
2977
|
* THEOplayer support or engineering.
|
|
2978
2978
|
*/
|
|
2979
2979
|
needsTimescaleShifting?: boolean | null;
|
|
2980
|
+
/**
|
|
2981
|
+
* (Experimental) The desired timescale to which the media data should be shifted.
|
|
2982
|
+
*
|
|
2983
|
+
* @remarks
|
|
2984
|
+
* <br/> - Available since v4.11.0.
|
|
2985
|
+
* <br/> - When specified, if the player decides to shift the timescale (see {@link DashPlaybackConfiguration.needsTimescaleShifting}), the timescale will be set to the
|
|
2986
|
+
* given desired timescale.
|
|
2987
|
+
* <br/> - When not specified, if the player decides to shift timescale, the player will decide the timescale to which it should shift.
|
|
2988
|
+
* <br/> - This is an experimental option. It should only be used after consulting with
|
|
2989
|
+
* THEOplayer support or engineering.
|
|
2990
|
+
*/
|
|
2991
|
+
desiredTimescale?: number;
|
|
2992
|
+
|
|
2980
2993
|
}
|
|
2981
2994
|
|
|
2982
2995
|
/**
|
|
@@ -6500,6 +6513,10 @@ export declare interface PlayerConfiguration {
|
|
|
6500
6513
|
* <br/> - Used for DASH and LL-HLS streams.
|
|
6501
6514
|
*/
|
|
6502
6515
|
abr?: SourceAbrConfiguration;
|
|
6516
|
+
/**
|
|
6517
|
+
* The vr configuration for the player.
|
|
6518
|
+
*/
|
|
6519
|
+
vr?: VRPlayerConfiguration;
|
|
6503
6520
|
}
|
|
6504
6521
|
|
|
6505
6522
|
/**
|
|
@@ -11453,6 +11470,15 @@ export declare interface VRConfiguration {
|
|
|
11453
11470
|
* @defaultValue `false`
|
|
11454
11471
|
*/
|
|
11455
11472
|
'360'?: boolean;
|
|
11473
|
+
/**
|
|
11474
|
+
* The panorama mode of the media.
|
|
11475
|
+
*
|
|
11476
|
+
* @remarks
|
|
11477
|
+
* <br/> - If the "360" property is set to true, panoramaMode is ignored and the content will be displayed as 360 degrees panorama.
|
|
11478
|
+
*
|
|
11479
|
+
* @defaultValue `undefined`
|
|
11480
|
+
*/
|
|
11481
|
+
panoramaMode?: VRPanoramaMode;
|
|
11456
11482
|
/**
|
|
11457
11483
|
* The stereoscopic mode of the media.
|
|
11458
11484
|
*
|
|
@@ -11523,6 +11549,30 @@ export declare interface VREventMap {
|
|
|
11523
11549
|
error: ErrorEvent_2;
|
|
11524
11550
|
}
|
|
11525
11551
|
|
|
11552
|
+
/**
|
|
11553
|
+
* The panorama mode of the VR content, represented by a value from the following list:
|
|
11554
|
+
* <br/> - `''`: No panorama mode.
|
|
11555
|
+
* <br/> - `'360'`: The video contains content with a full 360 degree field of view.
|
|
11556
|
+
* <br/> - `'180'`: The video contains content with a 180 degree field of view. `'180'` is only available when using the WebXR API.
|
|
11557
|
+
*
|
|
11558
|
+
* @public
|
|
11559
|
+
*/
|
|
11560
|
+
export declare type VRPanoramaMode = '' | '360' | '180';
|
|
11561
|
+
|
|
11562
|
+
/**
|
|
11563
|
+
* Describes the VR configuration
|
|
11564
|
+
*
|
|
11565
|
+
* @public
|
|
11566
|
+
*/
|
|
11567
|
+
declare interface VRPlayerConfiguration {
|
|
11568
|
+
/**
|
|
11569
|
+
* Whether to use the {@link https://immersiveweb.dev/ | WebXR API}.
|
|
11570
|
+
*
|
|
11571
|
+
* @defaultValue `false`
|
|
11572
|
+
*/
|
|
11573
|
+
useWebXR?: boolean;
|
|
11574
|
+
}
|
|
11575
|
+
|
|
11526
11576
|
/**
|
|
11527
11577
|
* The state of the VR feature, represented by a value from the following list:
|
|
11528
11578
|
* <br/> - `'unavailable'`
|