Example 20 - Scaling image overlays in a fixed size region


The configuration for this example is:


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

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

        openAdStreamer: {
            "url": "",

            "ads": {
                "acceptedNonLinearAdMimeTypes": [ "image/gif", "image/jpg", "image/png" ],
                "filterOnNonLinearAdMimeTypes": true,
                "schedule": [
                    {
                       "position": "fixed:bottom",
                       "startTime": "00:00:05",
                       "duration": "recommended:10",
                       "regionWidth": 300,
                       "regionHeight": 140,
                       "tag": ""
                    }
                ]
            }
            
            "debug": {
                "levels": ""
            }
        }
    }
});