Example 4.00.01 - Overlay ad calls made on demand during playback (VPAID)

Loading the player ...

The configuration for this example is:


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

       width: 640,
       height: 360,

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

       'controlbar.position':'bottom',

       plugins: {
           "../../../dist/swf/ova-jw.swf": { 
               "ads": {
                   "schedule": [
                       {
                           "position": "auto:bottom",
                           "startTime": "00:00:03",
                           "duration": 10,
                           "width": 450,
                           "height": 50,
                           "loadOnDemand": true,
                           "tag": "http://www.adotube.com/kernel/vast/vast.php?omlSource= 
                                   http://www.adotube.com/php/services/player/OMLService.php?
                                   avpid=pctozxH__amp__ad_type=overlays__amp__platform_version=vast20
                                   as3__amp__vpaid=1__amp__rtb=0__amp__publisher=adotube.com__amp__title=
                                   [VIDEO_TITLE]__amp__tags=[VIDEO_TAGS]__amp__description=[VIDEO_DESCRIPTION]
                                   __amp__videoURL=[VIDEO_FILE_URL]"
                       }
                   ]
               },

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