Example 3 - VAST 2 VPAID Linear Ad



The configuration for this example is:


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

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

        ova: {
            "url": "",

            "debug": {
                "debugger": "firebug",
                "levels": ""
            },

            "player": {
                "controls": {
                    "vpaid": { "visible": true }
                }
            },
            
            "ads": {
                "pauseOnClickThrough": true,
	            "companions": {
	                "regions": [
                        { "id":"companion", "width":"300", "height":"250" }
                    ]
                },                
                "schedule": [
                    {
                       "position": "pre-roll",
                       "tag": "http://www.adotube.com/kernel/vast/vast.php?omlSource=
                               http://www.adotube.com/php/services/player/OMLService.php?
                               avpid=UDKjuff__amp__ad_type=pre-rolls__amp__platform_version=
                               vast20as3__amp__vpaid=1__amp__rtb=0__amp__publisher=adotube.com
                               __amp__title=[VIDEO_TITLE]__amp__tags=[VIDEO_TAGS]__amp__
                               description=[VIDEO_DESCRIPTION]__amp__videoURL=[VIDEO_FILE_URL]"
                    }
                ]
            }
        }
     }
});