Example 19-1 - Repeating Ad positions at specified intervals (overlays)

Loading the player ...

The configuration for this example is:


<script type="text/javascript">jwplayer("container").setup({
       flashplayer: "", 

       "controlbar.position": "bottom",

       width: 450,
       height: 300,

       file: "http://streaming.openvideoads.org:81/shows/the-black-hole.mp4", 
       provider: "http",
       duration: 60,

       plugins: {
           "../../../dist/swf/ova-jw.swf": { 
               "ads": {
                   "servers": [
                       {
                           "type": "OpenX",
                           "apiAddress": "http://openx.openvideoads.org/openx/www/delivery/fc.php",
                           "allowAdRepetition": true
                       }
                   ],                 
                   "schedule": [
                       {
                           "zone": "30",
                           "position": "auto:bottom",
                           "startTime": "00:00:10",
                           "duration": 5,
                           "repeat": 3,
                           "interval": 10
                       }
                   ]
               },

               "debug": {
                  "levels": "fatal, config, vast_template, vpaid, http_calls, playlist, api"
               }
           }
       }
});
</script>