This example illustrates how a scaled linear interactive ad that does maintain the aspect ratio will appear in the player. To achieve this, the VAST template is returning "maintainAspectRatio=true scalable=true" within the MediaFile tag. These settings result in the Flowplayer clip.scaling property being set to 'fit'. Note the use of the "enforceLinearInteractiveScaling:true" config option to turn this on.
The configuration for this example is:
flowplayer("a.example", "", {
plugins: {
controls: {
autoHide: "always"
},
ova: {
url: "",
"debug": {
"levels": ""
},
"ads": {
"notice": { "show": false },
"servers": [
{
"type": "direct",
"apiAddress": ""
}
],
"schedule": [
{
"zone": "5",
"position": "pre-roll"
}
]
}
}
}
});