last update: 02.07.2008 | print this page
The JW FLV Player is an easy and flexible way to add video and audio to your website. It supports playback of any format the Adobe Flash Player can handle (FLV, MP4, MP3, AAC, JPG, PNG and GIF). It also supports RTMP, HTTP and live streaming, various playlists and captioning formats, a wide range of settings and an extensive javascript API. The brand new skinning functionality allows you to completely customize its looks!
Some flashvars changed from the 3.x player, so if you have troubles upgrading check this list first!
The LongTail Video Desktop Player is a standalone application
that plays any FLV right on your desktop. Free download!
This section describes a very simple installation. The download ZIP contains all you need to get started. First, transfer the player.swf and swfobject.js file from the ZIP to your website. Also upload all videos/songs/images you want to show to your site.
Second, embed the player in your HTML page with these lines of code. If you place the files in different directories, make sure to set the references in this code accordingly:
<p id='preview'>The player will show in this paragraph</p>
<script type='text/javascript' src='swfobject.js'></script>
<script type='text/javascript'>
var s1 = new SWFObject('player.swf','player','400','300','9');
s1.addParam('allowfullscreen','true');
s1.addParam('allowscriptaccess','always');
s1.addParam('flashvars','file=video.flv');
s1.write('preview');
</script>
The flashvars parameter can contain a list of variables for configuring the player. To quickly get the ones you want, use the setup wizard. Select an example, set the variables you want and copy-paste the code to your page. That's all!
All documentation of the JW Player can be found at the JW Player Wiki. It also includes the roadmap, source code and bug tickets. A couple of direct links are here:
If you find a CMS module that embeds the player in existing CMS systems, please report!
Also make sure to check out the various tutorials on this site, including the ones on:
I receive a lot of requests for creating customized versions of my player/rotator. In most cases however, a clever setting of the flashvars already fulfilled the requests, so please make sure you first check the list of flashvars or the setup wizard. Additionally, I do not design or program any particular (paid-for) customizations (I just don't have time for it), but interesting features will be plugged into the next update.
If you are familiar with actionscript (3) yourself, you should find that changing or adding to the player is quite simple. To get started, I've provided a PDF with clear overview of the application structure. All source code can also be checked out from the Wiki.
Here's a list with some frequently-encountered problems. For tips, tricks, additional info and bug reports, you can always have a look at my support forum.
Want to earn money with your video? I co-founded LongTail Video a company that has a great, hands-on ad solution. Here's the demo and here you can signup.
The JW Player 4 is fully skinnable - you can select the look and feel that suits your site. Check the available skins at LongTail Video.
get player skins