Example 3-2 - MRSS playlist, VPAID pre-rolls, linear post-rolls, no delay, ad enforcement, autostart

Loading the player ...

The configuration for this example is:


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

       width: 650,
       height: 240,

       'playlistfile': 'http://content.bitsontherun.com/jwp/482jsTAr.xml',
       'playlist.position': 'right',
       'playlist.size': 250,

       'controlbar.position':'bottom',
       autostart: true,

       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]"
                       },
                       {
                           "zone": "5",
                           "position": "post-roll",
                           "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>