last update: 20.10.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 formats, a wide range of settings and an extensive javascript API.
The skinning functionality allows you to completely customize its looks and the brand-new plugin architecture allows you to easily extend the player with features such as captions, sharing, recommendations, searching, analytics and adserving. You can already find a string of plugins at the LongTail Video site.
If you would like me to do a paid player customization, please email with a brief job spec along with your budget (nothing below 1,000 Euros, please).
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 submit!
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. You can also check out the interesting features that 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.
Not satisfied with BrightCove? Our Bits on the Run system is both cheaper (from €20 a month) and more flexible (any adserver, full api, JW Player). Signup for free or request a quote!