Example 21 - Multiple Mid-Rolls

Loading the player ...

The configuration for this example is:


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

       width: 450,
       height: 300,
       
       playlist: [
          { 
             file: "http://streaming.openvideoads.org:81/shows/the-black-hole.mp4",
             type: "http",
             duration: 169 
          }
       ],

       'controlbar.position':'bottom',

       plugins: {
           "../../../dist/swf/ova-jw.swf": {
               "ads": {
                  "servers": [
                      {
                         "type": "OpenX",
                         "apiAddress": "http://openx.openvideoads.org/openx/www/delivery/fc.php"
                      }
                  ],
                  "schedule": [
                      {
                         "zone": "5",
                         "position": "mid-roll",
                         "startTime": "00:00:10"
                      },
                      {
                         "zone": "5",
                         "position": "mid-roll",
                         "startTime": "00:00:30"
                      },
                      {
                         "zone": "5",
                         "position": "mid-roll",
                         "startTime": "00:00:56"
                      },
                      {
                         "zone": "5",
                         "position": "mid-roll",
                         "startTime": "00:01:10"
                      }
                  ]
               },

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