Example 2.16.00 - Starting playback via OVA

Loading the player ...

The configuration for this example is:


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

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

       width: 650,
       height: 240,

       controlbar: "bottom",

       plugins: {
           "../../../dist/swf/ova-jw.js": {
               "ads": {
                   "servers": [
                       {
                           "type": "OpenX",
                           "apiAddress": "http://openx.openvideoads.org/openx/www/delivery/fc.php"
                       }
                   ],
                   "notice": { "textStyle": "smalltext" },
                   "schedule": [
                       {
                           "zone": "18",
                           "position": "pre-roll"
                       }
                   ]
               },

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

<ul>
  <li><a href="#" onclick="jwplayer('container').getPlugin('ova').play();">
    Start playback
  </a></li>
</ul>