Example 2 - Mid-roll Story with Intervals

Loading the player ...

The configuration for this example is:


jwplayer("container").setup({
       flashplayer: "", 

       playlist: [
	       { file: "http://streaming.openvideoads.org:81/shows/the-black-hole.mp4", duration: 40 }
       ],

       width: 300,
       height: 220,
       "controlbar.position": "bottom",

       plugins: {
           "../../../dist/swf/ova-jw.swf": { 
               "ads": {
                  "schedule": [
                     { 
                         "position": "pre-roll",
                         "tag": "http://adserver.adtech.de/?ad...",
                         "oneAdPerRequest": false,
                         "repeat": 3
                     },
                     { 
                         "position": "mid-roll",
                         "startTime": "00:00:10",
                         "tag": "http://adserver.adtech.de/?ad...",
                         "oneAdPerRequest": false,
                         "repeat": 2,
                         "interval": 10
                     },
                     {  
                         "position": "post-roll",
                         "tag": "http://adserver.adtech.de/?ad...",
                         "oneAdPerRequest": false,
                         "repeat": 3
                     }
                  ]
               },

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