@theoplayer/extended 4.12.0 → 5.0.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.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * THEOplayer
3
3
  * https://www.theoplayer.com
4
4
  *
5
- * Version: 2023.2.0 (4.12.0)
5
+ * Version: 2023.2.1 (5.0.0)
6
6
  */
7
7
 
8
8
  /**
@@ -11431,6 +11431,16 @@ export declare interface VR extends EventDispatcher<VREventMap> {
11431
11431
  * @defaultValue `false`
11432
11432
  */
11433
11433
  stereo: boolean;
11434
+ /**
11435
+ * Whether controls using device motion on mobile devices is enabled when not viewing in stereo mode.
11436
+ *
11437
+ * @remarks
11438
+ * <br/> - This performs actions that require user consent, so setting this to true has to be behind a button press.
11439
+ * <br/> - Changes only take effect when `stereo` is `false`.
11440
+ *
11441
+ * @defaultValue `false`
11442
+ */
11443
+ useDeviceMotionControls: boolean;
11434
11444
  /**
11435
11445
  * The viewing direction.
11436
11446
  */
@@ -11564,7 +11574,7 @@ export declare type VRPanoramaMode = '' | '360' | '180';
11564
11574
  *
11565
11575
  * @public
11566
11576
  */
11567
- declare interface VRPlayerConfiguration {
11577
+ export declare interface VRPlayerConfiguration {
11568
11578
  /**
11569
11579
  * Whether to use the {@link https://immersiveweb.dev/ | WebXR API}.
11570
11580
  *