Example 9 - Turning off non-linear ad replay

This example illustrates how to turn off the replay of overlay ads via the "replayNonLinearAds" option if the user skips back in the stream to a point where an overlay is to be played.

A COMPANION ADVERTISEMENT WILL APPEAR IN HERE

The configuration for this example is:




"" is defined as:


<config>
   <ova.title>
       Example 9 - Turning off non-linear ad replay
   </ova.title>
   <ova.json>
       {
            "shows": {
                "streams": [ 
                   { 
                      "file":"OVA_PSEUDO_SHOW_STREAM_1", 
                      "duration":"00:00:35" 
                   } 
                ]
            },

            "ads": {
                "servers": [
                   {
                      "type": "OpenX",
                      "apiAddress": "OVA_OPENX_API"
                   }
                ],
                "replayNonLinearAds": false,
                "displayCompanions": true,
                "companions": [
                    { "id":"companion", "width":"150", "height":"360" }
                ],
                "schedule": [
                    {
                        "zone": "28",
                        "width": 450,
                        "height": 50,
                        "startTime": "00:00:05",
                        "duration": "10"
                    },
                    {
                        "zone": "41",
                        "width": 450,
                        "height": 50,
                        "startTime": "00:00:20",
                        "duration": "10"
                    }
                ]
            },

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