Example 1 - Sequential Pre, Mid-roll and Post-Roll Stories

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",
                         "repeat": 3,
                         "server": {
                             "tag": "http://adserver.adtech.de/?ad...",
                             "oneAdPerRequest": false
                         }
                     },
                     { 
                         "position": "mid-roll",
                         "startTime": "00:00:10",
                         "server": {   
                             "tag": "http://adserver.adtech.de/?ad...",
                             "oneAdPerRequest": false
                         },
                         "repeat": 2
                     },
                     {  
                         "position": "post-roll",
                         "repeat": 3,
                         "server": {
                            "tag": "http://adserver.adtech.de/?ad...",
                           "oneAdPerRequest": false
                         }
                     }
                  ]
               },

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