Illustrates how to define an ad scheduled playlist item that has a start time and restricted duration. In this case, the show stream starts 10 seconds in and runs for a total of 20 seconds. It is preceded with a pre-roll ad.
The configuration for this example is:
flowplayer("a.example", "", {
playlist: [
{
url: "",
provider: "rtmp",
start: 10,
duration: 20
}
],
plugins: {
rtmp: {
url: "",
netConnectionUrl: ""
},
ova: {
url: "",
"playOnce": true,
"ads": {
"servers": [
{
"type": "OpenX",
"apiAddress": "",
"allowAdRepetition": true
}
],
"schedule": [
{
"zone": "5",
"position": "pre-roll"
}
]
},
"debug": {
"levels": ""
}
}
}
});