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.
You need Flash Player 9 and a browser with javascript!
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='260' 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='image=http://www.longtailvideo.com/jw/upload/bunny.jpg&file= http://www.longtailvideo.com/jw/upload/bunny.flv&skin=http://www.longtailvideo.com/jw/upload/overlay.swf&frontcolor=ffffff&lightcolor=cc9900&controlbar=over&stretching=fill'> <embed id='single2' name='single2' src='player.swf' width='470' height='260' bgcolor='#' allowscriptaccess='always' allowfullscreen='true' flashvars='image=http://www.longtailvideo.com/jw/upload/bunny.jpg&file= http://www.longtailvideo.com/jw/upload/bunny.flv&skin=http://www.longtailvideo.com/jw/upload/overlay.swf&frontcolor=ffffff&lightcolor=cc9900&controlbar=over&stretching=fill' /> </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','260','9','#');
so.addParam('allowfullscreen','true');
so.addParam('allowscriptaccess','always');
so.addParam('wmode','opaque');
so.addVariable('image','http://www.longtailvideo.com/jw/upload/bunny.jpg');
so.addVariable('file',' http://www.longtailvideo.com/jw/upload/bunny.flv');
so.addVariable('skin','http://www.longtailvideo.com/jw/upload/overlay.swf');
so.addVariable('frontcolor','ffffff');
so.addVariable('lightcolor','cc9900');
so.addVariable('controlbar','over');
so.addVariable('stretching','fill');
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.