Example 10 - Retaining a Companion after the ad has played

This example illustrates how to keep the companion ad displaying after the instream video has played.

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": {
                   "restore": false, 
                   "regions": [
                       { "id":"companion", "width": 150, "height": 360 }
                   ]
                },
                "schedule": [
                    {
                        "zone": "6",
                        "position": "pre-roll",
                        "playOnce": true
                    }
                ]
            },

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