This example demonstrates the delivery of a mixture of FLV and MP4 streams and ads. By default, the streamType config parameter is set to "any" so it does not need to be specified. Two shows streams will play - an MP4 first, then an FLV. Each show stream will play an ad that will either be an FLV or MP4 linear ad.
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" },
{ "file":"", "duration":"00:00:20" }
]
},
"ads": {
"servers": [
{
"type": "OpenX",
"apiAddress": ""
}
],
"schedule": [
{
"zone": "15",
"position": "pre-roll"
}
]
},
"debug": {
"levels": ""
}
}
}
});