This example illustrates how OVA scales SWF overlays - both non-interactive and VPAID overlays. For an overlay to scale it must be defined as "scalable" in the VAST response. "maintainAspectRatio" is also honoured.
The configuration for this example is:
flowplayer("example", "", {
playlist: [
{
url: "",
duration: 20
}
],
plugins: {
controls: {
autoHide: "always"
},
openAdStreamer: {
"url": "",
"ads": {
"enableOverlayScaling": true,
"enforceOverlayRecommendedSizing": true,
"schedule": [
{
"position": "auto:bottom",
"startTime": "00:00:05",
"duration": "recommended:30",
"tag": ""
}
]
}
"debug": {
"levels": ""
}
}
}
});