This example illustrates how to configure OVA to serve an overlay in each stream listed in the dynamic playlist plugin. The playlist plugin requires a small modification to exclude items that start with "advertisement" in the title from the dispaly. A modified version of the Flowplayer JS plugin has been provided in this release. It is called "flowplayer.playlist-3.0.7.modified.js" (download here)
The configuration for this example is:
flowplayer("a.example", "", {
playlist: [
{
url: "",
provider: "rtmp",
duration: 15,
customProperties: {
title: "Movie Title 1",
description: "A Short Movie"
}
},
{
url: "",
duration: 20,
customProperties: {
title: "Movie Title 2",
description: "A Longer Movie"
}
},
],
plugins: {
controls: {
autoHide: "always"
},
ova: {
url: "",
"debug": {
"levels": ""
},
"ads": {
"pauseOnClickThrough": true,
"servers": [
{
"type": "OpenX",
"apiAddress": ""
}
],
"schedule": [
{
"zone": "44",
"startTime": "00:00:05",
"duration": "5"
}
]
}
}
}
});