Example 14 - Turning off overlay scaling

Overlays that have a "scalable=true" attribute in the VAST response will be scaled by OVA by default. To turn off the scaling feature, use the "enableOverlayScaling: false" configuration option.


The configuration for this example is:


flowplayer("example", "", {
    plugins: {	    
        controls: {
            autoHide: "always"
        },

        openAdStreamer: {
            "url": "",

            "shows": {
                "baseURL": "",
                "streams": [ { "file":"", "duration":"00:00:34" } ]
            },

            "ads": {
                "enableOverlayScaling": false,
                "schedule": [
                    {
                       "position": "auto:bottom",
                       "startTime": "00:00:05",
                       "duration": "recommended:10",
                       "tag": "http://ad.de.doubleclick.net/pfadx/DE_AS.computerbildde/_default;
                               dcmt=text/xml;sz=30x1;pos=1;vpos=1;u=pos=1,vpos=1,xx=vp,tile=1,
                               NUGGVARS;vi=4;xx=vp;tile=1;ord=__random-number__"
                    }
                ]
            }
            
            "debug": {
                "levels": ""
            }
        }
    }
});