By default SWF ads will be scaled based on the width and height of the actual SWF canvas. This example illustrates how to force OVA to use the dimensions reported in the VAST response.
The configuration for this example is:
flowplayer("example", "", {
playlist: [
{
url: "",
duration: 20
}
],
plugins: {
controls: {
autoHide: "always"
},
openAdStreamer: {
"url": "",
"shows": {
"baseURL": "",
"streams": [ { "file":"", "duration":"00:00:34" } ]
},
"ads": {
"overlays": {
"enforceRecommendedSizing": true
},
"schedule": [
{
"region": "auto:bottom",
"startTime": "00:00:02",
"duration": "recommended:10",
"enableScaling": true,
"tag": "../../../../../dist/templates/overlays/scaling/vast2-swf-scalable-bad-size.xml"
}
]
}
"debug": {
"levels": ""
}
}
}
});