Example 2 - Direct URL based Ad Server Request

This example illustrates how to configure a direct URL based ad server request in the ad schedule. In this case it's a call to an AdTech ad server.



The configuration for this example is:


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

        ova: {
            url: "",

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

            "ads": {
                "pauseOnClickThrough": true,
                "schedule": [
                    {
                       "position": "pre-roll",
                       "server": {
                           "type": "AdTech",
                           "tag": "http://adserver.adtech.de/?adrawdata/3.0/990.1/
                                   2366662/0/1725/noperf=1;cc=2;header=yes;
                                   alias=myalias;cookie=yes;adct=204;key=key1+key2;
                                   grp=[group];misc=__random-number__"
                       }
                    }
                ]
             }
         }
     }
});