THEOplayer Web SDK
    Preparing search index...

    Interface VRConfiguration

    Describes the configuration of the virtual reality feature of a source.


    - Available since v2.12.0.
    - See the VR API to control display of VR videos.

    interface VRConfiguration {
        "360"?: boolean;
        nativeVR?: boolean;
        panoramaMode?: VRPanoramaMode;
        stereoMode?: VRStereoMode;
    }
    Index

    Properties

    "360"?: boolean

    Whether the source contains 360° video content.

    false

    nativeVR?: boolean

    Whether the source plays using native VR.


    - This property is only available for iOS.

    false

    panoramaMode?: VRPanoramaMode

    The panorama mode of the media.


    - If the "360" property is set to true, panoramaMode is ignored and the content will be displayed as 360 degrees panorama.

    undefined

    stereoMode?: VRStereoMode

    The stereoscopic mode of the media.

    ''