Information on CORS (Cross-Origin Resource Sharing) can be obtained here.
For successful HLS or DASH streaming to Radiant Media Player, all HLS and DASH resources must be delivered with CORS headers permitting GET requests.
Please refer to the documentation of your streaming/hosting server for guidance on how to enable CORS. For Wowza Streaming Engine you may find help in this article.
The following features require the player to load through Ajax external resources:
If those resources are hosted on a different origin than the origin where the player stands, proper CORS settings must be enabled on the hosting server to allow cross-origin requests. The following player settings can help manage the loading of such resources:
By default the player does not include
credentials when trying to load the above mentioned external resources. Setting
ajaxWithCredentials will enable cross-site requests to be made using credentials. Default: false.
Sets the timeout in milliseconds for ajax requests made by the player when trying to load the above mentioned external resources. Default: 10000.
Your player must be implemented on a web page with a valid HTML5 DOCTYPE.
Radiant Media Player works with most modern mobile devices. In order for it to work at its best on these devices you need to specify a viewport meta tag in the <head> section of your HTML page. We recommend using the below data. To find out more about the viewport meta tag you can read this Mozilla MDN article.
<meta name="viewport" content="initial-scale=1, width=device-width, shrink-to-fit=no">
For Cordova and Ionic mobile applications (Android or iOS) we recommend using the below data:
<meta name="viewport" content="initial-scale=1, width=device-width, viewport-fit=cover">
Radiant Media Player is equipped with an innovative feature detection technology. It will automatically pick the most-suitable streaming protocol based on the list of available protocols and dynamically add player features based on device capabilities.
With HLS or DASH the player will also automatically adapt to the device network conditions and switch between renditions when appropriate. The adaption logic is optimised to work for most common use-cases but we also provide advanced configuration options to fine tune the adaptation. Manual bitrate switching is also provided to the viewer whenever possible.
The detection and adaptation processes are transparent for the viewer.