This example illustrates how to use the "delayAdRequestUntilPlay" option to hold on the ad calls until the play button is pressed.
The configuration for this example is:
flowplayer("a.example", "", {
playlist: [
{
url: "",
duration: 20
}
],
plugins: {
controls: {
autoHide: "always"
},
ova: {
url: "",
"delayAdRequestUntilPlay": true,
"ads": {
"servers": [
{
"type": "OpenX",
"apiAddress": "",
}
],
"schedule": [
{
"zone": "6",
"position": "pre-roll"
}
]
},
"debug": {
"levels": ""
}
}
}
});