Example 1 - Repeating Ad Positions

This example plays 3 pre-roll ads sequentially before the main stream. At this time, mid-roll repeating ad slots is not supported by Flowplayer.

The configuration for this example is:




"" is defined as:


<config>
   <ova.title>
       Example 1 - Repeating Ad Positions
   </ova.title>
   <ova.json>
       {
            "ads": {
              "servers": [
                   {
                      "type": "OpenX",
                      "apiAddress": "OVA_OPENX_API",
                      "allowAdRepetition": true
                   }
              ],

              "schedule": [
                  {
                    "zone": "5",
                    "position": "pre-roll",
                    "repeat": 3
                  }
              ]
            },

            "debug": {
              "debugger": "firebug",
              "levels": "OVA_DEBUG"
            }
       }
   </ova.json>
</config>