This example delivers a HTML overlay at the bottom of the player screen 5 seconds into the stream for a duration of 10 seconds. A second 'click to play' video overlay follows 5 seconds later. This example uses the reserved region "reserved-bottom-w450px-h50px-000000-o50" to serve the HTML overlays. Notice no sizing information is required for HTML ads.
The configuration for this example is:
"" is defined as:
<config>
<ova.title>
Example 12 - Delivering HTML Overlay Ads
</ova.title>
<ova.json>
{
"ads": {
"servers": [
{
"type": "OpenX",
"apiAddress": "http://openx.openvideoads.org/openx/www/delivery/fc.php"
}
],
"displayCompanions": true,
"companions": [
{ "id":"companion", "width":"150", "height":"360" }
],
"schedule": [
{
"zone": "31",
"startTime": "00:00:05",
"duration": "10"
},
{
"zone": "40",
"startTime": "00:00:20",
"duration": "10"
}
]
},
"debug": {
"debugger": "firebug",
"levels": "fatal, config, vast_template, vpaid, playlist, api, analytics, http_calls"
}
}
</ova.json>
</config>