Example 5 (HTTP) - 1 stream with a pre, mid and post-roll

1 show stream limited to 20 seconds in duration with a pre-roll, mid roll (10 seconds into the show stream) and a post-roll ad. The mid-roll has a companion banner attached.

A COMPANION ADVERTISEMENT WILL APPEAR IN HERE

The configuration for this example is:


flowplayer("a.example", "", {
   playlist: [
       {
           url: "",
           duration: 40
       }
   ],
   plugins: {
        controls: {
            autoHide: "always"
        },

        ova: {
            url: "",

            "ads": {
                "servers": [
                    {
                        "type": "OpenX",
                        "apiAddress": "",
                    }
                ],
	            "companions": {
   	                 "regions": [
                        { "id":"companion", "width":"150", "height":"360" }
                     ]
                },
                "schedule": [
                    {
                        "zone": "5",
                        "position": "pre-roll",
                        "playOnce": true
                    },
                    {
                        "zone": "6",
                        "position": "mid-roll",
                        "startTime": "00:00:10",
                        "playOnce": true
                    },
                    {
                        "zone": "5",
                        "position": "post-roll",
                        "playOnce": true
                    }
                ]
            },

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