Example 10 - Configure new providers

If you need to load a different plugin as the RTMP provider, you can use the "providers" config variable to identify the plugin SWF to load.


The configuration for this example is:


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

        ova: {
            url: "",

            "providers": {
                "http": "pseudo",
                "rtmp": "rtmp"
            },

            "debug": {
                "levels": ""
            },

            "ads": {
                "pauseOnClickThrough": true,
                "servers": [
                    {
                       "type": "OpenX",
                       "apiAddress": ""
                    }
                ],
                "schedule": [
                    {
                       "zone": "1",
                       "position": "pre-roll"
                    }
                ]
            }
        }
    }
});