Order Now AdSolution Sign Up | Login » Bits on the Run Sign Up | Login »

SETUP WIZARD

Our Setup Wizard renders the code you need to implement a specific JW Player 5 setup. It’s also a useful tool to experiment to see what's possible with the player. Roll over a variable to see its tooltip or check this page for more explanations. To set up a JW Player 4 configuration, please use the previous wizard.

1: Select an Example Setup

2: Change Your Flashvars

Embed parameters
Playlist
File properties
Colors
Layout
Behaviour
External Communication

3: Preview Your Player

You need Flash Player 9 and a browser with javascript!


4: Copy Your Code*

Below is the embed code for this setup. If you use any JavaScripting, we recommend the swfobject 1.5 code.

<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' width='470' height='300' id='single1' name='single1'>
<param name='movie' value='player.swf'>
<param name='allowfullscreen' value='true'>
<param name='allowscriptaccess' value='always'>
<param name='wmode' value='transparent'>
<param name='flashvars' value='file=http://www.longtailvideo.com/jw/upload/bunny.mp3&plugins=revolt&link=http://www.anttikupila.com/flash/revolt-actionscript-3-based-spectrum-analyzer-source-released/&repeat=true'>
<embed
  id='single2'
  name='single2'
  src='player.swf'
  width='470'
  height='300'
  bgcolor='#ffffff'
  allowscriptaccess='always'
  allowfullscreen='true'
  flashvars='file=http://www.longtailvideo.com/jw/upload/bunny.mp3&plugins=revolt&link=http://www.anttikupila.com/flash/revolt-actionscript-3-based-spectrum-analyzer-source-released/&repeat=true'
/>
</object>

Below is the swfobject 1.5 code for this setup. For blogs and sites like MySpace, use the embed code.

<script type='text/javascript' src='swfobject.js'></script>

<div id='mediaspace'>This text will be replaced</div>

<script type='text/javascript'>
  var so = new SWFObject('player.swf','ply','470','300','9','#ffffff');
  so.addParam('allowfullscreen','true');
  so.addParam('allowscriptaccess','always');
  so.addParam('wmode','opaque');
  so.addVariable('file','http://www.longtailvideo.com/jw/upload/bunny.mp3');
  so.addVariable('plugins','revolt');
  so.addVariable('link','http://www.anttikupila.com/flash/revolt-actionscript-3-based-spectrum-analyzer-source-released/');
  so.addVariable('repeat','true');
  so.write('mediaspace');
</script>

*Please note: this example setup uses a player.swf (and, in some cases, a swfobject.js) that is hosted on our servers. You need to download your own copy of the JW Player (swfobject.js is included in the download) and place it on your own server -- then change the link(s) in this example so they point to the file(s) on your server.