Player Builds

Script builds

We provide optimised builds that pre-pack common features and reduce the network/processing cost to load the player into a web page. We recommend using the build that best match your needs. Those builds are available through our cloud player or self-hosting. They can be used through the HTML <script> tag.

No matter what build you use, if you request a specific feature that is not available in the selected build by default, the player will attempt to load the required dependency when needed - so if you are not sure what to use, simply include the generic rmp.min.js build.

If you need to support legacy environments you will need to use rmp.min.js build as it will automatically load legacy builds for hls.js and Shaka player based on browser/WebView capabilities.

Available production builds are:

Core build

rmp.min.js: Radiant Media Player core library - no specific optimisation - will async load dependencies when needed based on input player settings

HLS optimised builds (Media Source Extensions HLS through hls.js with fallback to native HLS) - see docs

rmp-hlsjs.min.js: recommended for streaming HLS TS or fMP4 HLS

MPEG-DASH optimised builds (Media Source Extensions through Shaka player with fallback to native HLS) - see docs

rmp-shaka.min.js: recommended for streaming DASH, DASH DRM, fMP4 HLS DRM, DASH & fMP4 HLS offline download

rmp-vast optimised builds (video advertisement with our rmp-vast VAST parser) - see docs


360° video optimised builds with HLS, DASH or progressive download - see docs

rmp-three.min.js: recommended for streaming 360° video with MP4/WebM progressive download

Side-loaded WebVTT captions (through vtt.js) optimised builds with HLS, DASH or progressive download - see docs

rmp-vttjs.min.js: recommended for displaying side-loaded VTT captions with MP4/WebM progressive download

Module builds

rmp.module.js: for project where ES2015 modules are available you can add the player to your page through the import JavaScript statement. Note that importing Radiant Media Player as a module requires self-hosting of player files and is only available to paid customers. Player code example:

Our module build supports the same environments as our script build

// import Radiant Media Player as a ES2015 module
import RadiantMP from 'radiantmediaplayer/dist/rmp.module.js';
// HLS streaming source
const src = {
  hls: 'https://your-live-hls-url.m3u8'
// Your player settings
const settings = {
  licenseKey: 'your-license-key',
  src: src,
  width: 640,
  height: 360,
  pathToRmpFiles: 'radiantmediaplayer/',
  contentMetadata: {
    poster: [
const elementID = 'rmp';
const rmp = new RadiantMP(elementID);

Debugging builds

rmp.debug.js: including this build on your page will print player logs to your browser console for easier debugging. See our debugging guide for more debugging information.

If your are using the player as a ES2015 module you can add the rmp.module.debug.js.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 3.0 License.

©2015-2024 Radiant Media Player. All Rights Reserved.