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. An overlay ad (click to video) is played 15 seconds into the show stream. All HTTP streams are "pseudo-streamed".
The configuration for this example is:
flowplayer("a.example", "", {
plugins: {
controls: {
autoHide: "always"
},
// HTTP pseudo-streaming provider - instream instance for mid-roll and child streams
pseudo: {
url: ""
},
pseudoInstream: {
url: ""
},
// RTMP provider - instream instance is for mid-roll and child streams
rtmp: {
url: ""
},
rtmpInstream: {
url: ""
},
ova: {
url: "",
"providers": {
"http": "pseudo",
"rtmp": "rtmp"
},
"shows": {
"baseURL": ,
"streams": [
{
"file": "",
"duration":"00:01:00",
"metaData": false
},
{
"file": "",
"duration":"00:01:00",
"metaData": false
}
]
},
"player": {
"controls": {
"linear": {
"enable": true
}
}
},
"ads": {
"servers": [
{
"type": "OpenX",
"apiAddress": "",
"allowAdRepetition": true
}
],
"companions": {
"regions": [
{ "id":"companion", "width":"150", "height":"360" }
]
},
"schedule": [
{
"zone": "19",
"position": "pre-roll",
"playOnce": true
},
{
"zone": "1",
"position": "mid-roll",
"startTime": "00:00:10",
"playOnce": true
},
{
"zone": "34",
"startTime": "00:00:15",
"duration": "10",
"width": 450,
"height": 50
},
{
"zone": "5",
"position": "post-roll"
}
]
},
"debug": {
"levels": ""
}
}
}
});