Example 1.7 - VPAID pre-roll - live stream (with auto-start)


The configuration for this example is:


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

        controls: {
            autoHide: "never"
        },
        
        ova: {
            url: "",

            "autoPlay": true, 
 
            "ads": {
               "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]"
                  }
               ]
            },

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