Example 2 - Mid-rolls and live streams

Loading the player ...

The configuration for this example is:


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

       width: 450,
       height: 300,

       'controlbar.position':'bottom',

       file: 'mylivestream',
       streamer: 'rtmp://myserver/mystreams',
       duration: 60,

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

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