This example illustrates how to use the "delayAdRequestUntilPlay" option to hold on the ad calls until the play button is pressed.
The configuration for this example is:
"" is defined as:
<config>
<ova.title>
Example 1 - Deferred Ad loading (waits for 'Play' to be pressed) - no splash image
</ova.title>
<ova.json>
{
"delayAdRequestUntilPlay": true,
"ads": {
"servers": [
{
"type": "OpenX",
"apiAddress": "OVA_OPENX_API"
}
],
"companions": [
{ "id":"companion", "width":"150", "height":"360" }
],
"schedule": [
{
"zone": "6",
"position": "pre-roll",
"playOnce": true
}
]
},
"debug": {
"levels": "OVA_DEBUG",
"debugger": "firebug"
}
}
</ova.json>
</config>