JWPlayer 5.9 with some fixes
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is even with luminosity-group:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


The JW Player is free for non-commerical use.  To buy a license for commercial use, please visit 

To build the JW Player, you will need the following software:

 * Flex SDK 3.3: http://opensource.adobe.com/wiki/display/flexsdk/Downloads
 * Ant 1.7.0: http://ant.apache.org/bindownload.cgi
 * FlexUnit 4: http://opensource.adobe.com/wiki/display/flexunit/FlexUnit (for testing the player)

=== Compiling the Player With the Flex SDK and Ant ===

To compile with Flex and Ant, enter the following command:

ant -buildfile build\build.xml

If the build is successful, player.swf will appear in the "bin-release" folder.

=== Compiling the Player With Flex / Flash Builder ===

Alternately, if you're using Flex Builder or Flash Builder, you may use the following method to build the player:

1. Create a new ActionScript project (you can give it any name except "Player").
2. Under "Project Contents", select the checkout tree (the folder where this README file lives).
3. If using Flex Builder 3, click the "Next" button, then type "src" into the "Main Source Folder" field.
4. Click the "Finish" button
5. Right-click on your new project, and select "Properties"
6. Under the "ActionScript Compiler" tab, click the radio button that reads "Use a specific version", and make sure it reads "10.0.0".
7. Under the "ActionScript Build Path" tab, click the "Library Path" tab and then the "Add SWC Folder" button.  Type in "libs" then press the "OK" button. 
8. Click the "OK" button.
9. Alter your main application class to inherit from com.longtailvideo.jwplayer.player.Player (i.e. public class MyPlayer extends com.longtailvideo.jwplayer.player.Player { ... )
10. Under the "Project" menu, choose "Export Release Build".
11. The player will be compiled as bin-release/{Your Project Name}.swf.

=== Compiling the Player With Flash CS4/CS5/CS5.5 ===

1. Create a new FLA file in the "src" directory. 
2. In the Properties menu, under "Publish", enter "com.longtailvideo.jwplayer.player.Player" in the Class field. 
3. Open the "Preferences" menu, go to the ActionScript panel, then click the "ActionScript 3.0 settings" button.  Enter the path to the Flex SDK in the "Flex SDK Path" field.
4. Open the Publish Settings dialog and click the "Settings" button next to the "Script" dropdown. 
5. If using Flash CS5.5, make sure to set the "player" setting to "Flash Player 10 & 10.1", not the default of "Flash Player 10.2"
6. Click the "Library path" tab, and remove all of the entries listed there.  Then add a new entry: "$(FlexSDK)/frameworks/libs"
7. Also add the "libs" folder contained in the JW Player source.
8. Publish the application.