Example 3 - 728x90 image scaled to player width maintaining aspect ratio

Image is wider than player, no width provided in the ad slot, creative is 'scalable' and the aspect ratio needs to be maintained because that is specified in the VAST response


The configuration for this example is:


flowplayer("example", "", {
    playlist: [
       {
           url: "",
           duration: 20
       }
    ],

    plugins: {	    
        controls: {
            autoHide: "always"
        },

        openAdStreamer: {
            "url": "",

            "ads": {
                "schedule": [
                    {
                       "region": "auto:bottom",
                       "startTime": "00:00:03",
                       "duration": "recommended:15",
                       "enableScaling": true,
                       "tag": "../../../../../dist/templates/overlays/scaling/vast2-image-scalable-maintain-aspect.xml"
                    }
                ]
            }
            
            "debug": {
                "levels": ""
            }
        }
    }
});