Linear pre-roll, selected as highest quality, limited to FLV format. The companions are selected based on their type as multiple types/size are returned in the VAST response.
The configuration for this example is:
flowplayer("example", "", {
plugins: {
controls: {
autoHide: "always"
},
ova: {
url: "",
"debug": {
"levels": ""
},
"ads": {
"pauseOnClickThrough": true,
"bestBitrate": "high",
"deliveryType": "flv",
"companions": {
"regions": [
{
"id":"companion-300x250",
"width":"300",
"height":"250"
},
{
"id":"companion-300x60-1",
"width":"300",
"height":"60",
"resourceType": "static"
},
{
"id":"companion-300x60-2",
"width":"300",
"height":"60",
"resourceType": "iframe"
}
]
},
"schedule": [
{
"position": "pre-roll",
"server": {
"type": "direct",
"tag": "http://api.atdmt.com/adserv.api/viewad/sa=115571748;
sf=VAST20_PreRoll_XML_alpha;pf=FLV;br=500;strm=0"
}
}
]
}
}
}
});