This example illustrates the delivery of 2 pre-rolls, one after each other, followed by two overlays, one after each other on the show stream (the first overlay at 1 second into the show for 5 seconds, followed by a second at 10 seconds for 5 seconds).
The configuration for this example is:
flowplayer("a.example", "", {
plugins: {
controls: {
autoHide: "always"
},
ova: {
url: "",
"shows": {
"baseURL": "",
"streams": [
{ "file":"", "duration":"00:00:20" }
]
},
"ads": {
"notice": { "show": false },
"servers": [
{
"type": "OpenX",
"apiAddress": "",
"allowAdRepetition": true
}
],
"schedule": [
{
"zone": "5",
"position": "pre-roll"
},
{
"zone": "5",
"position": "pre-roll"
},
{
"zone": "30",
"startTime": "00:00:01",
"duration": 5,
"width": 450,
"height": 50
},
{
"zone": "30",
"startTime": "00:00:10",
"duration": 5,
"width": 450,
"height": 50
}
]
},
"debug": {
"levels": ""
}
}
}
});