Example 6 (HTTP) - A pre-roll with companion and a show stream

A pre-roll ad with an accompanying companion banner being shown for the duration of the pre-roll.

A COMPANION ADVERTISEMENT WILL APPEAR IN HERE

The configuration for this example is:


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

        ova: {
            url: "",

            "shows": {
                "baseURL": "",
                "streams": [
                    { "file":"", "duration":"00:00:20" }
                ]
            },

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

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