Example 2 - VAST 2.0 Non-Linear with Linear Takeover

300x60 static
300x60 iframe
728x90 static
728x90 iframe
300x250 static
300x250 iframe

The configuration for this example is:


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

        ova: {
            url: "",
            
            "debug": {
                "levels": ""
            },

            "ads": {
                "pauseOnClickThrough": true,
                "bestBitRate": "high",
                "companions": {
                    "regions": [
                        {  
                           "id":"companion-300x60-static", 
                           "width":"300", 
                           "height":"60", 
                           "resourceType": "static" 
                        },
                        { 
                           "id":"companion-300x60-iframe", 
                           "width":"300", 
                           "height":"60", 
                           "resourceType": "iframe" 
                        },
                        { 
                           "id":"companion-728x90-static", 
                           "width":"728", 
                           "height":"90", 
                           "index": 0 
                        },
                        { 
                           "id":"companion-728x90-iframe", 
                           "width":"728", 
                           "height":"90", 
                           "index": 1 
                        },
                        { 
                           "id":"companion-300x250-static", 
                           "width":"300", 
                           "height":"250", 
                           "resourceType": "static" 
                        },
                        { 
                           "id":"companion-300x250-iframe", 
                           "width":"300", 
                           "height":"250", 
                           "index": 1 
                        }
                   ]
                },
                "servers": [
                    {
                       "type": "direct",
                       "oneAdPerRequest": false,
                       "tag": "http://ad3.liverail.com/?LR_PUBLISHER_ID=1331__amp__
                               LR_CAMPAIGN_ID=227__amp__LR_SCHEMA=vast2"
                    }
                ],
                "schedule": [
                    {
                       "position": "auto",
                       "duration": "recommended:15",
                       "startTime": "00:00:03"
                    },
                    {
                       "position": "post-roll"
                    }
                ]
            }
        }
    }
});