Example 0.00.02: Deferring Ad loading with splash image

This example illustrates how to use the "delayAdRequestUntilPlay" option to hold on the ad calls until the play button is pressed. This example has a splash image configured in playlist.

The configuration for this example is:


flowplayer("a.example", "", {
    playlist: [
        {
            url: "",
            scaling: "orig"
        },
    	{
            url: "",
            duration: 10
    	},
    	{
            url: "",
            duration: 11
    	}
    ],

    plugins: {
        controls: {
            autoHide: "always"
        },

        ova: {
            url: "",

            "delayAdRequestUntilPlay": true,

            "ads": {
                "servers": [
                    {
                      "type": "OpenX",
                      "apiAddress": "",
                      "allowAdRepetition": true
                    }
                ],
                "schedule": [
                    {
                        "zone": "6",
                        "position": "pre-roll"
                    }
                ]
            },

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