Example 3 - Customising the "skip ad" using Region settings


The configuration for this example is:




"" is defined as:


<config>
   <ova.title>
       Example 3 - Customising the "skip ad" using Region settings
   </ova.title>
   <ova.json>
       {
          "debug": {
              "debugger": "firebug",
              "levels": "fatal, config, vast_template, vpaid, playlist, api, analytics, http_calls"
          },

          "ads": {
             "controls": {
                  "skipAd": {
                      "enabled": true,
                      "html": "<p>SKIP!</p>",
                  	  "region": {
                            "id": "my-new-skip-ad-button",
                            "verticalAlign": 3,
                            "horizontalAlign": 3,
                            "backgroundColor": "#FF3300",
                            "opacity": 0.8,
                            "borderRadius": 15,
                            "padding": "0 1 1 13",
                            "width": 60,
                            "height": 20
                	  }
                  }
             },
             "servers": [
                   {
                      "type": "OpenX",
                      "apiAddress": "http://openx.openvideoads.org/openx/www/delivery/fc.php"
                   }
             ],
             "schedule": [
                {
                   "zone": "5",
                   "position": "pre-roll"
                }
             ]
          }
       }
   </ova.json>
</config>