1 show stream limited to 20 seconds in duration with a pre-roll, mid roll (10 seconds into the show stream) and a post-roll ad. The mid-roll has a companion banner attached.
The configuration for this example is:
flowplayer("a.example", "", {
plugins: {
rtmp: {
url: ""
},
rtmpInstream: {
url: ""
},
controls: {
autoHide: "always"
},
ova: {
url: "",
"shows": {
"baseURL": "",
"streams": [
{ "file":"", "duration":"00:00:20" }
]
},
"ads": {
"servers": [
{
"type": "OpenX",
"apiAddress": ""
}
],
"companions": {
"regions": [
{ "id":"companion", "width":"150", "height":"360" }
]
},
"schedule": [
{
"zone": "1",
"position": "pre-roll",
"playOnce": true
},
{
"zone": "4",
"position": "mid-roll",
"startTime": "00:00:10",
"playOnce": true
},
{
"zone": "1",
"position": "post-roll",
"playOnce": true
}
]
},
"debug": {
"levels": ""
}
}
}
});