Example 2 - An overlay ad

5 seconds into the show stream an overlay appears for 15 seconds.




COMPANION GOES HERE

The configuration for this example is:




"" is defined as:


<config>
   <ova.title>
       Example 2 - An overlay ad
   </ova.title>
   <ova.json>
       {
            "overlays": {
              "regions": [
                 {
                    "id": "bottom",
                    "verticalAlign": "bottom",
                    "horizontalAlign": "center",
                    "padding": "-10 -10 -10 -10",
                    "width": 468,
                    "height": 60
                 }
              ]
            },

            "ads": {
              "displayCompanions": true,
              "restoreCompanions": false,
              "companions": [
                   { "id":"right-companion", "width":"300", "height":"250" }
              ],
              "servers": [
                   {
                      "type": "OASIS",
                      "apiAddress": "http://ahs2.adhostingsolutions.com/oasisi-i.php"
                   }
              ],
              "schedule": [
                  {
                      "zone": "1567",
                      "position": "bottom",
                      "width": 468,
                      "height": 60,
                      "startTime": "00:00:05",
                      "duration": "15"
                  }
              ]
            },

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