Example 2.3 - VPAID non-linear over a live stream


The configuration for this example is:


flowplayer("a.player614x345", "", {
	clip: {
		url: "a.stream",
		provider: "rtmp",
		live: true,
		duration: 30
	},
	
    plugins: {
        rtmp: {
            url: FP_RTMP_SWF,
 			netConnectionUrl: "rtmp://server/live"
        },

        controls: {
            autoHide: "never"
        },
        
        ova: {
            url: "",
 
            "ads": {
               "schedule": [
                    {
                       "startTime": "00:00:02",
                       "position": "auto:bottom",
                       "duration": "recommended:20",
                       "server": {
                           "type": "Adotube",
                           "tag": "http://www.adotube.com/kernel/vast/vast2.0VPAIDAS3Prod.php?
                                   omlSource=http://www.adotube.com/php/services/player/OMLService.php?
                                   avpid=OBpMj3k__amp__platform_version=as3__amp__publisher=www.longtailvideo.com__amp__
                                   title=The Black Hole__amp__tags=ova,test__amp__description=ova test stream"
                       }
                    }
               ]
            },

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