Example 2 - Integrating an Adap.tv Ad Tag

This example presents a simple pre-roll served by Adap.tv via a direct ad tag

COMPANION AD APPEARS HERE

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": {
              "notice": { "textStyle": "smalltext" },
	          "companions": {
	              "regions": [
                      { "id":"companion", "width":"300", "height":"250" }
                  ]
              },                
              "schedule": [
                   {
                      "position": "pre-roll",
                      "tag": "http://u-ads.adap.tv/a/h/fy8HuCqcy0y5CmMetFZUPVRg8BYfUdag9T3gJ
                              Oflx7IRS2LqU9Qh0Q==?cb=15783059__amp__spot=preroll__amp__eov=eov
                              __amp__artEid=vast_2_0__amp__ocb=9035__amp__rid=test__amp__
                              pageUrl=http%3A%2F%2Fwww.adap.tv__amp__gubed"
                   }
              ]
            },

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