Displays the range of VAST 1 companion types that can be displayed natively by the OVA SWF - HTML (no scripting), iFrame, Static (image, swf, no scripting). If advanced companion types are required (that contain Javascript), OVA needs to be configured to "display companions externally". See this example for an illustration of how to achieve that.
The configuration for this example is:
"" is defined as:
<config>
<ova.title>
Example 1 - Native VAST 1 Companion Types
</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
}
],
"schedule": [
{
"position": "pre-roll",
"server": {
"type": "direct",
"tag": "../../../dist/templates/companions/companions-vast1.xml"
}
}
]
}
}
</ova.json>
</config>