Example 4.04.00 - Overlay ad calls made on demand with companions

A COMPANION ADVERTISEMENT WILL APPEAR IN HERE

The configuration for this example is:


flowplayer("a.example", "", {
    playlist: [
    	{
            url: "",
            duration: 30
    	}
    ],

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

        ova: {
            url: "",

            "ads": {
               "companions": [
                   { "id":"companion", "width":"150", "height":"360" }
               ],
               "servers": [
                   {
                      "type": "OpenX",
                      "apiAddress": "http://openx.openvideoads.org/openx/www/delivery/fc.php"
                   }
               ],
               "schedule": [
                   {
                      "zone": "28",
                      "position": "auto:bottom",
                      "loadOnDemand": true,
                      "startTime": "00:00:03",
                      "duration": 20,
                      "width": 450,
                      "height": 50
                   }
               ]
            },

            "debug": {
                "levels": ""
            }
        }
    }
});