Radiant Media Player

Audio ads

Scope of support for audio ads

Radiant Media Player supports audio-only streaming in HLS, DASH or progressive download with flexible configuration options. See our audio-only player docs for more information.

Audio ads are supported within our audio-only player in various formats: M4A (AAC), MP3 or even HLS (where natively supported by the device). Other formats (like Vorbis or Opus in .oga or .webm) may work depending on device capabilities.

Audio ads are not supported with our video player.

Audio-ads must be linear audio-ads. Non-linear or Skippable Linear ads are not supported as they would not fit the audio-only player.

Audio-ads and our audio-only player can be controlled through our player & ads API. You can also use ad waterfalling or our custom ad scheduler for audio ads.


Single linear preroll audio ad:

Player code for the above example:

<!-- Include Radiant Media Player JavaScript file in your <body> or <head> -->
<script src="https://cdn.radiantmediatechs.com/rmp/v4/latest/js/rmp.min.js"></script>
<!-- Set up your wrapper div with its unique id -->
<div id="rmpPlayer"></div>
<!-- Set up player configuration options -->
// First we specify bitrates to feed to the player
var bitrates = {
  hls: 'https://dqwp3xzzbfhtw.cloudfront.net/vod/smil:audio.smil/playlist.m3u8'
// Then we set our player settings
var settings = {
  licenseKey: 'your-license-key',
  bitrates: bitrates,
  width: 640,
  ads: true,
  adTagUrl: 'https://www.radiantmediaplayer.com/vast/tags/audio.xml',
  adTagWaterfall: [
  audioOnly: true
// Reference to the wrapper div (unique id)
var elementID = 'rmpPlayer';
// Create an object based on RadiantMP constructor
var rmp = new RadiantMP(elementID);
// Initialization ... test your page and done!
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 3.0 License.