Radiant Media Player

Outstream video ads



Documentation sections


Definition

An outstream video ad is a video ad without content following it. Only the ad is displayed to the viewer. This is in opposition to in-stream video ads which are followed by content.

For an outstream video ad, the video ad type must be a linear creative (VAST or VPAID compliant ad tags). Non-linear creatives will be discarded by the player if presented. Outstream ads are not available with our audio-only player.

You can use ad-waterfalling, our video ads API and many other settings with outstream video ads.

Since Radiant Media Player 5 outstream ads are available with both Google IMA and our rmp-vast parser.


Player settings

adOutStream: Boolean

Specifies that the player should enter an outstream mode where no content will be displayed. Default: false.

adOutStreamMutedAutoplay: Boolean

In order to comply with the Initial Better Ads Standards from the Coalition for Better Ads, when autoplay is requested, outstream video ads are automatically muted autoplay on both mobile and desktop. Default: true.

skin: String

Use skin: 'outstream' setting to use the dedicated outstream player skin. Other skins can also be used with outstream ads. Default: 's1'.

Many other player settings can be used to fine tune the outstream ad experience including:

poster, autoplay, endOfVideoPoster, adCountDown, adTagWaterfall, hideControls, adTagReloadOnEnded. See here for more video ads related settings.


Player code example

<script src="https://cdn.radiantmediatechs.com/rmp/5.0.6/js/rmp.min.js"></script>
<div id="rmpPlayer"></div>
<script>
  var settings = {
    licenseKey: 'your-license-key',
    width: 640,
    height: 360,
    // If we use autoplay - it should be muted as recommended by the Coalition for Better Ads
    autoplay: true,
    adOutStreamMutedAutoplay: true,
    ads: true,
    // By default we use Google IMA, but we can also use rmp-vast for outstream ads
    // adParser: 'rmp-vast',
    adTagUrl: 'https://your-ad-tag-url',
    // waterfalling if needs be
    adTagWaterfall: [
      'https://your-fallback-ad-tag-url'
    ],
    // if you want to use rmp-vast for outstream ads (instead of Google IMA which is default)
    // adParser: 'rmp-vast',
    // Outstream settings
    adOutStream: true,
    skin: 'outstream'
  };
  var elementID = 'rmpPlayer';
  var rmp = new RadiantMP(elementID);
  rmp.init(settings);
</script>

In order to help you get started with outstream ads and Radiant Media Player we have released an open-source collection of implementation examples on GitHub.

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