Example 1 - A pre-roll ad only with a splash image and autoplay - HTTP

Loading the player ...

The configuration for this example is:


<script type="text/javascript">jwplayer("container").setup({
       modes: [ { type: 'html5' } ],

       width: 360,
       height: 240,

       file: "http://streaming.openvideoads.org/shows/the-black-hole.mp4",
       duration: 10,

       'controlbar.position':'bottom',

       plugins: {
           "../../../../../dist/swf/ova-jw.js": { 
               "delayAdRequestUntilPlay": true,
             
               "ads": {
                   "notice": { "textStyle": "smalltext" },
                   "schedule": [
                       {
                           "position": "pre-roll",
                           "tag": ""
                       }
                   ]
               },

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