Example 3 - Backwards compatibility with the "disableControls" property

This example illustrates how to enable the control bar during linear ad playback using the "enableControls" config property (please note: this property will be depreciated - it has been replaced by the "controls: {}" configuration setting).


The configuration for this example is:


flowplayer("a.example", "", {
    plugins: {
        controls: {
            playlist: true
        },

        ova: {
            url: "",

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

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

            "ads": {
                "disableControls": false,
                "servers": [
                    {
                       "type": "OpenX",
                       "apiAddress": "",
                    }
                ],
                "schedule": [
                    {
                       "zone": "5",
                       "position": "pre-roll"
                    }
                ]
            }
        }
    }
});