This example illustrates how a scaled linear interactive ad that does not maintain the aspect ratio will appear in the player. To achieve this, the VAST template is returning "maintainAspectRatio=false scalable=true" within the MediaFile tag. These settings result in the Flowplayer clip.scaling property being set to 'scale'.
The configuration for this example is:
"" is defined as:
<config>
<ova.title>
Example 15 - A Scaled Pre-Roll Linear Interactive Ad not maintaining the Aspect Ratio
</ova.title>
<ova.json>
{
"debug": {
"levels": "fatal, config, vast_template, vpaid, http_calls, playlist, api"
},
"ads": {
"notice": { "show": false },
"servers": [
{
"type": "direct",
"apiAddress": "../../../dist/templates/interactive/interactive-preroll3.xml"
}
],
"schedule": [
{
"zone": "5",
"position": "pre-roll"
}
]
}
}
</ova.json>
</config>