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": {
"schedule": [
{
"position": "pre-roll",
"tag": "http://www.adotube.com/kernel/vast/vast.php?
omlSource=http://www.adotube.com/php/services/player/OMLService.php?
avpid=UDKjuff__amp__ad_type=pre-rolls__amp__platform_version=vast20as3
__amp__vpaid=1__amp__rtb=0__amp__publisher=adotube.com
__amp__title=[VIDEO_TITLE]__amp__tags=[VIDEO_TAGS]__amp__
description=[VIDEO_DESCRIPTION]__amp__videoURL=[VIDEO_FILE_URL]"
}
]
},
"debug": {
"levels": ""
}
}
}
});