Example 1 - Integrating an Adform Ad Call

This example presents a simple pre-roll served by Adform.


The configuration for this example is:


flowplayer("a.example", "", {
    plugins: {
        rtmp: {
            url: ""
        },
        rtmpInstream: {
            url: ""
        },
        ova: {
            url: "",

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

            "ads": {
              "servers": [
                   {
                      "type": "Adform",
                      "apiAddress": "http://track.adform.net/serving/videoad"
                   }
              ],
              "schedule": [
                   {
                      "zone": "453599",
                      "position": "pre-roll"
                   }
              ]
            },

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