Our Setup Wizard renders the code you need to implement a specific JW Player 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. Many thanks to Lars Nyboe Andersen for creating the first version of this wizard and additional example setups.
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='320' id='single1' name='single1'> <param name='movie' value='http://player.longtailvideo.com/player4.6.swf'> <param name='allowfullscreen' value='true'> <param name='allowscriptaccess' value='always'> <param name='wmode' value='transparent'> <param name='flashvars' value='file=http://content.longtailvideo.com/videos/flvplayer.flv'> <embed id='single2' name='single2' src='http://player.longtailvideo.com/player4.6.swf' width='470' height='320' bgcolor='#000000' allowscriptaccess='always' allowfullscreen='true' flashvars='file=http://content.longtailvideo.com/videos/flvplayer.flv' /> </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('http://player.longtailvideo.com/player4.6.swf','ply','470','320','9','#000000');
so.addParam('allowfullscreen','true');
so.addParam('allowscriptaccess','always');
so.addParam('wmode','opaque');
so.addVariable('file','http://content.longtailvideo.com/videos/flvplayer.flv');
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.