Example 4 - Linear ad streams and the Flow Plugin

Loading the player ...

The configuration for this example is:


<script type="text/javascript">jwplayer("container").setup({
       flashplayer: "", 
       playlistfile: 'http://content.bitsontherun.com/jwp/482jsTAr.xml',
       'controlbar.position': 'bottom',
       plugins: {
           "../../../../dist/swf/ova-jw.swf": { 
              "allowPlaylistControl": true,

              "debug": {
                  "levels": "fatal, config, vast_template, vpaid, http_calls, playlist, api"
              },

              "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]"
                      }
                  ]
              }
           },
           "flow-2": {
               'position': 'bottom',
               'showtext': 'false',
               'coverheight': '100',
               'size': '100',
               'dockicon': false,
               'controlbaricon': true,
               'onplaying': 'show',
               'onidle': 'show',
               'onpaused': 'show',
               'oncompleted': 'show'
           }           
       },
       height: 300,
       width: 450
});
</script>