The api control config.
Allows to set a cardboard config as string to adjust the VR/360 rendering to a specific cardboard device.
The QR codes on cardboards contain short URLs, which lead to a long URL, e.g.
http://google.com/cardboard/cfg?p=CghSZWQgQnVsbBILUmVkIEJ1bGwgVlId7FE4PSWPwnU9KhAAAEhCAABIQgAASEIAAEhCWAA1KVwPPToICtcjPArXIzxQAGAC
.
The content of parameter p should be used as string.
Example:
{
...
cardboard:
'CghSZWQgQnVsbBILUmVkIEJ1bGwgVlId7FE4PSWPwnU9KhAAAEhCAABIQgAASEIAAEhCWAA1KVwPPToICtcjPArXIzxQAGAC'
}
Specifies the width of the content, stated in degrees.
Specifies the type of the VR/360 content.
Specifies whether performance measurements shall be enabled or not.
Specifies the horizontal field of view in degrees.
The keyboard control config.
The mouse control config.
Specifies whether the restricted inline playback shall be used or not.
Specifies the starting viewpoint, stated in degrees.
Specifies if the video should start in stereo mode (true
) or not (false
, default).
Specifies the vertical field of view in degrees.
The minimal interval between consecutive ON_VR_VIEWING_DIRECTION_CHANGE events.
The threshold in degrees that the viewport can change before the ON_VR_VIEWING_DIRECTION_CHANGE event is triggered.
Specifies the angles the user can view around within the VR/360 video. Per default, the user has no limitations.
Generated using TypeDoc
Example:
source: { dash : 'http://path/to/mpd/file.mpd', vr: { contentType: bitmovin.player.VR.CONTENT_TYPE.SINGLE, startPosition: 180, initialRotation: true, initialRotateRate: 0.025 } }