Example 1-1: JSON playlist: Delayed Ad loading (waits for 'Play' to be pressed) - no splash image (VPAID)

Loading the player ...

The configuration for this example is:


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

       width: 360,
       height: 240,

       playlist: [
          { 
             file: "http://streaming.openvideoads.org:81/shows/the-black-hole.mp4",
             duration: 10,
             provider: 'http'
          },
          {
             file: "http://streaming.openvideoads.org/shows/bbb-640x360.mp4",
             duration: 11
          },
          {
             file: "mp4:the-black-hole.mp4",
             streamer: "rtmp://ne7c0nwbit.rtmphost.com/videoplayer",
             duration: 12
          }
       ],

       'controlbar.position':'bottom',

       plugins: {
           "../../../dist/swf/ova-jw.swf": { 
               "allowPlaylistControl": true,
               "delayAdRequestUntilPlay": true,
               
               "ads": {
                   "enforceLinearAdsOnPlaylistSelection": true,
                   "schedule": [
                       {
                           "position": "pre-roll",
                           "tag": "http://www.adotube.com/kernel/vast/vast.php?omlSource=http://www.adotube.com/php/services/player/OMLService.php?avpid=UDKjuff&ad_type=pre-rolls&platform_version=vast20as3&vpaid=1&rtb=0&publisher=adotube.com&title=[VIDEO_TITLE]&tags=[VIDEO_TAGS]&description=[VIDEO_DESCRIPTION]&videoURL=[VIDEO_FILE_URL]"
                       }
                   ]
               },

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