This example illustrates how to use the "delayAdRequestUntilPlay" option to hold on the ad calls until the play button is pressed. A splash image is also configured.
The configuration for this example is:
"" is defined as:
<config>
<ova.title>
Example 2 - Deferred Ad loading with splash image
</ova.title>
<ova.json>
{
"delayAdRequestUntilPlay": true,
"ads": {
"servers": [
{
"type": "OpenX",
"apiAddress": "http://openx.openvideoads.org/openx/www/delivery/fc.php"
}
],
"companions": [
{ "id":"companion", "width":"150", "height":"360" }
],
"schedule": [
{
"zone": "6",
"position": "pre-roll",
"playOnce": true
}
]
},
"debug": {
"levels": "fatal, config, vast_template, vpaid, playlist, api, analytics, http_calls",
"debugger": "firebug"
}
}
</ova.json>
</config>