This example illustrates how to use the 'out of the box' configuration options to make calls to the Adify ad server.
The configuration for this example is:
flowplayer("a.example", "", {
plugins: {
controls: {
autoHide: "always"
},
ova: {
"url": "",
"debug": {
"levels": ""
},
"shows": {
"baseURL": "",
"streams": [
{ "file":"", "duration":"00:00:20" }
]
},
"ads": {
"pauseOnClickThrough": true,
"notice": { "textStyle": "smalltext" },
"companions": {
"regions": [
{ "id":"companion", "width":"300", "height":"250" }
]
},
"servers": [
{
"type": "Adify",
"apiAddress": "http://ad.afy11.net"
}
],
"schedule": [
{
"zone": "1000004375407",
"position": "pre-roll"
}
]
}
}
}
});