This example delivers only ads that match a "food" category. To achieve this, ads are configured on the OpenX server with a "site variable" called "category" and a value of "food" is assigned.
The configuration for this example is:
flowplayer("a.example", "", {
plugins: {
controls: {
autoHide: "always"
},
ova: {
url: "",
"debug": {
"levels": ""
},
"ads": {
"pauseOnClickThrough": true,
"servers": [
{
"type": "OpenX",
"apiAddress": "",
"customProperties": {
"target": [ "category=food", "gender=male" ]
// This is also possible for a single param:
// "target": "category=food"
}
}
],
"schedule": [
{
"zone": "5",
"position": "pre-roll",
}
]
}
}
}
});