This example illustrates how OVA may be instructed to ignore the "duration" value in the VAST response. Instead, when the stream is loaded the duration is detected and the timing events are calculated accordingly.
The configuration for this example is:
"" is defined as:
<config>
<ova.title>
Example 6 - Ignoring Ad Duration
</ova.title>
<ova.json>
{
"debug": {
"levels": "fatal, config, vast_template, vpaid, playlist, api, analytics, http_calls",
"debugger": "firebug"
},
"shows": {
"baseURL": "http://streaming.openvideoads.org/shows",
"streams": [
{ "file":"the-black-hole.mp4", "duration":"00:01:00" },
{ "file":"the-black-hole.mp4", "duration":"00:01:00" }
]
},
"ads": {
"pauseOnClickThrough": true,
"setDurationFromMetaData": true,
"servers": [
{
"type": "OpenX",
"apiAddress": "http://openx.openvideoads.org/openx/www/delivery/fc.php"
}
],
"schedule": [
{
"zone": "5",
"position": "pre-roll"
}
]
}
}
</ova.json>
</config>