Example 18 - Mid-Roll with a Show Stream

A mid-roll will be shown 10 seconds into the show stream.

A COMPANION ADVERTISEMENT WILL APPEAR IN HERE

The configuration for this example is:


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

        ova: {
            url: "",

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

            "ads": {
                "playOnce": false,
                "servers": [
                    {
                       "type": "OpenX",
                       "apiAddress": "",
                    }
                ],
                "companions": {
                   "restore": false,
                   "regions": [
                      { "id":"companion", "width":"150", "height":"360" }
                   ]
                },
                "schedule": [
                    {
                       "zone": "6",
                       "position": "mid-roll",
                       "startTime": "00:00:10"
                    }
                ]
            }
        }
    }
});