Example 5 - Enable SkipAd After X Seconds

The configuration for this example is:


flowplayer("a.example", "", {
    playlist: [
       {
           url: "",
           duration: 20
       },
    ],
    
    plugins: {
        ova: {
            url: "",
            
            "ads": {
              "skipAd": {
                  "enabled": true,
                  "showAfterSeconds": 10
              },
              "servers": [
                   {
                      "type": "OpenX",
                      "apiAddress": "",
                      "allowAdRepetition": true
                   }
              ],
              "schedule": [
                  {
                     "zone": "5",
                     "position": "pre-roll"
                  }
              ]
            },

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