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": "OVA_OPENX_API"
                   }
               ],

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

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

            "debug": {
               "debugger": "firebug",
               "levels": "OVA_DEBUG"
            }
       }
   </ova.json>
</config>