source: trunk/fl5/README.txt @ 2206

Revision 2206, 2.7 KB checked in by pablo, 2 years ago (diff)

Fixes a few more cross-site scripting vulnerabilities

Line 
1The JW Player is free for non-commerical use.  To buy a license for commercial use, please visit
2https://www.longtailvideo.com/players/order.
3
4To build the JW Player, you will need the following software:
5
6 * Flex SDK 4.1: http://sourceforge.net/adobe/flexsdk/wiki/Downloads/
7 * Ant 1.7.0: http://ant.apache.org/bindownload.cgi
8 * FlexUnit 4: http://opensource.adobe.com/wiki/display/flexunit/FlexUnit (for testing the player)
9
10=== Compiling the Player With the Flex SDK and Ant ===
11
12To compile with Flex and Ant, enter the following command:
13
14ant -buildfile build\build.xml
15
16If the build is successful, the new player.swf will appear in the base folder (where this README.txt file is located)
17
18=== Compiling the Player With Flex / Flash Builder ===
19
20Alternately, if you're using Flex Builder or Flash Builder, you may use the following method to build the player:
21
221. Create a new ActionScript project (you can give it any name except "Player").
232. Under "Project Contents", select the checkout tree (the folder where this README file lives).
243. If using Flex Builder 3, click the "Next" button, then type "src" into the "Main Source Folder" field.
254. Click the "Finish" button
265. Right-click on your new project, and select "Properties"
276. Under the "ActionScript Compiler" tab, click the radio button that reads "Use a specific version", and make sure it reads "10.0.0".
287. 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.
298. Click the "OK" button.
309. Alter your main application class to inherit from com.longtailvideo.jwplayer.player.Player (i.e. public class MyPlayer extends com.longtailvideo.jwplayer.player.Player { ... )
3110. Under the "Project" menu, choose "Export Release Build".
3211. The player will be compiled as bin-release/{Your Project Name}.swf.
33
34=== Compiling the Player With Flash CS4/CS5/CS5.5 ===
35
361. Create a new FLA file in the "src" directory.
372. In the Properties menu, under "Publish", enter "com.longtailvideo.jwplayer.player.Player" in the Class field.
383. 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.
394. Open the Publish Settings dialog and click the "Settings" button next to the "Script" dropdown.
405. 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"
416. Click the "Library path" tab, and remove all of the entries listed there.  Then add a new entry: "$(FlexSDK)/frameworks/libs"
427. Also add the "libs" folder contained in the JW Player source.
438. Publish the application.
Note: See TracBrowser for help on using the repository browser.