This example illustrates support for the XML Wrapper element of the VAST standard. To see what an XML wrapper response looks like, click here.
The configuration for this example is:
"" is defined as:
<config>
<ova.title>
Example 1-06 - Single VAST 2 Wrapper to VAST 2 VPAID Ad
</ova.title>
<ova.json>
{
"shows": {
"streams": [
{
"file": "http://streaming.openvideoads.org/shows/the-black-hole.mp4",
"duration":"00:00:20"
}
]
},
"ads": {
"servers": [
{
"type": "direct",
"apiAddress": "../../../dist/templates/wrapper/vast2-wrapper-to-vast2-vpaid-ad.xml",
}
],
"companions": {
"regions": [
{ "id":"companion-300x250", "width":"300", "height":"250" }
]
},
"schedule": [
{
"zone": "46",
"position": "pre-roll"
}
]
},
"debug": {
"levels": "fatal, config, vast_template, vpaid, http_calls, playlist, api"
}
}
</ova.json>
</config>