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.
This also applies to Google cast and ajax-loaded external resources loaded by the player. This is not a specific requirement to Radiant Media Player but to any player streaming content to HTML5 player making cross-domain requests with JavaScript.
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.
For CORS requirements related to video ads see this article (IMA) and this article (rmp-vast).
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:
ajaxWithCredentials: Boolean
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
.
ajaxTimeout: Number
Sets the timeout in milliseconds for ajax requests made by the player when trying to load the above mentioned external resources. Default: 12000
.
Your player must be implemented on a web page with a valid HTML5 DOCTYPE.
<!DOCTYPE html>
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.
©2015-2023 Radiant Media Player. All Rights Reserved.