Selects high quality linear video ad and selectively display a companion based on index/type.
The configuration for this example is:
flowplayer("example", "", {
plugins: {
controls: {
autoHide: "always"
},
ova: {
url: "",
"debug": {
"debugger": "firebug",
"levels": ""
},
"ads": {
"pauseOnClickThrough": true,
"bestBitRate": "high",
"companions": [
{
"id":"companion-300x250-iframe",
"width":"300",
"height":"250",
"index": 1
}
],
"schedule": [
{
"position": "pre-roll",
"server": {
"type": "direct",
"tag": "http://ad3.liverail.com/?LR_PUBLISHER_ID=1331
__amp__LR_CAMPAIGN_ID=229__amp__LR_SCHEMA=vast2"
}
}
]
}
}
}
});