Example 11 - Adding parameters to the default Companion SWF embed/object tags

This example illustrates how to add additional parameters to the OBJECT/EMBED tags used to display a SWF companion on the page.




300x250 SWF

The configuration for this example is:


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

        ova: {
            url: "",

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

            "ads": {
                "companions": [
                    { "id":"companion", "width":"300", "height":"250", "index": 1 }
                ],
                "additionalParamsForSWFCompanions": [
                    { "name": "wmode", value: "transparent" }
                ],
                "schedule": [
                    {
                      "position": "pre-roll",
                      "tag": ""
                    }
                ]
            },

            "debug": {
                "levels": "fatal",
                "debugger": "firebug"
            }
        }
    }
});