Radiant Media Player

Virtual reality video documentation



Documentation sections


Virtual reality video scope of support

Radiant Media Player is committed to supporting the latest innovation in the online video world. We are pleased to announce support for virtual reality video through head-mounted display with Radiant Media Player 5.5.


Supported input format

Radiant Media Player supports playback for side by side videos, used in the context of a VR headset, through HLS, DASH & progressive download. This works for live or on-demand video content. Given the nature of side by side videos (which can easily scale up to 4K resolution) using an adaptive bitrate streaming like HLS or DASH technology is generally recommended.


Supported environments

In order to provide side by side videos, used in the context of a VR headset, Radiant Media Player makes use of the WebXR Device API. We use three.js as VR framework (this framework is publicly available under MIT license). As of version 5.5 we support the Oculus platform.

We support the Oculus browser, Samsung Internet VR and Firefox Reality.


Virtual reality module

When Radiant Media Player is used in a supported platform/browsers and the WebXR Device API is available within a context of a VR headset.


Virtual reality player settings

videoVR: Boolean

When set to true this setting will cause the player to enter VR rendering mode (where supported). Default: false.

videoVRFocalLength: Number

Sets the initial FOV (Camera frustum vertical field of view) by focal length in respect to the current film gauge. Default: 75.

videoVRFRameRate: Number

Sets the minimum FOV (Camera frustum vertical field of view) by focal length in respect to the current film gauge. Default: 24.


Player code example

The above player example has the following setup code:

<!-- Include Radiant Media Player - here we use the optimised build for hls.js and VR video -->
<script src="https://cdn.radiantmediatechs.com/rmp/5.5.1/js/rmp-three-hlsjs.min.js"></script>
<div id="rmpPlayer"></div>
<script>
var src = {
  hls: 'https://your-vr-hls-url.m3u8'
};
var settings = {
  licenseKey: 'your-license-key',
  src: src,
  width: 960,
  height: 480,
  videoVR: true,
  poster: 'https://your-poster-url.jpg'
};
var elementID = 'rmpPlayer';
var rmp = new RadiantMP(elementID);
rmp.init(settings);
</script>

See a demo of VR video with Radiant Media Player here.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 3.0 License.