Example 1 - A VAST 2.0 pre-roll ad only

This example illustrates the delivery of a pre-roll linear ad and an accompanying companion from a call made to Adify.


COMPANION AD APPEARS HERE

The configuration for this example is:


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

        ova: {
            "url": "",

            "debug": {
                "levels": ""
            },

            "ads": {
                "pauseOnClickThrough": true,
                "notice": { "textStyle": "smalltext" },
  	            "companions": {
	               "regions": [
                      { "id":"companion", "width":"300", "height":"250" }
                   ]
                },                
                "schedule": [
                    {
                       "position": "pre-roll",
                       "server": {
                          "type": "Adify",
                          "tag": "http://ad.afy11.net/ad?enc=4__amp__asId=1000004375407
                                  __amp__sf=0__amp__ct=256"
                       }
                    }
                ]
            }
        }
     }
});