This example illustrates how to put a timing delay into companions as groups are displayed on a single page. Quickly injecting a range of SWF companions that have to startup can load down the browser (IE specifically) and cause issues.
The configuration for this example is:
"" is defined as:
<config>
<ova.title>
Example 6 - Delayed sequencing of companion groups
</ova.title>
<ova.json>
{
"debug": {
"debugger": "firebug",
"levels": "fatal, config, vast_template, vpaid, playlist, api, analytics, http_calls"
},
"ads": {
"pauseOnClickThrough": true,
"bestBitRate": "high",
"companions": [
{
"id":"companion-300x250-static-1",
"width":"300",
"height":"250",
"index": 0
},
{
"id":"companion-300x250-static-2",
"width":"300",
"height":"250",
"index": 1
},
{
"id":"companion-300x250-iframe",
"width":"300",
"height":"250",
"resourceType": "iframe"
}
{
"id":"companion-300x250-html-1",
"width":"300",
"height":"250",
"index": 5
}
],
"millisecondDelayOnCompanionInjection": 1000,
"schedule": [
{
"position": "pre-roll",
"server": {
"type": "direct",
"tag": "../../../dist/templates/companions/companions-vast2.xml"
}
}
]
}
}
</ova.json>
</config>