Example 4-1 - Use autostart and repeat flashvars - playlist control

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,
       repeat: 'always',

       plugins: {
           "../../../../dist/swf/ova-jw.swf": { 
              "allowPlaylistControl": true, 

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

              "ads": {
                 "playOnce": false,
                 "servers": [
                     {
                        "type": "OpenX",
                        "apiAddress": "http://openx.openvideoads.org/openx/www/delivery/fc.php"
                     }
                 ],
                 "schedule": [
                     {
                        "zone": "5",
                        "position": "pre-roll"
                     }
                 ]
              }
           }
       }
});
</script>