Example 1 - A pre-roll with companion before a live stream

This example illustrates how to deliver linear advertising (with a companion) before or after a live stream. Mid-roll linear ads are not supported on live streams at this time.

A COMPANION ADVERTISEMENT WILL APPEAR IN HERE

The configuration for this example is:




"" is defined as:


<config>
   <ova.title>
       Example 1 - A pre-roll with companion before a live stream
   </ova.title>
   <ova.json>
       {
           "blockUntilOriginalPlaylistLoaded": true,
           "ads": {
               "servers": [
                   {
                      "type": "OpenX",
                      "apiAddress": "http://openx.openvideoads.org/openx/www/delivery/fc.php",
                   }
               ],

               "companions": {
                   "regions": [
                      { "id":"companion", "width":"150", "height":"360" }
                   ]
               },

               "schedule": [
                   {
                      "zone": "6",
                      "position": "pre-roll",
                      "playOnce": true
                   }
               ]
            },

            "debug": {
               "levels": "fatal, config, vast_template, vpaid, http_calls, playlist, api"
            }
       }
   </ova.json>
</config>