How to build JWPlayer on Mac OS X

26 Nov No Comments

1. To download the source codes @
2. Compilation:
To install following software
Flex SDK 4.1:
Ant 1.7.0:
To save extracted files of Flex at a specific folder, I saved it at /Applications/Adobe Flash Builder 4.5/sdks/OpenSource-4.1.0
To extract ANT and saved at a specific folder, such as /Users/USERNAME/Programming/ant, have a link to ~/ant
Environment setting
export ANT_HOME=/Users/USERNAME/ant
export JAVA_HOME=`/usr/libexec/java_home -v 1.6`
export PATH=${PATH}:${ANT_HOME}/bin
To modify properties of build at build/
flexsdk = /Applications/Adobe Flash Builder 4.5/sdks/OpenSource-4.1.0 to Specify the location of flex sdk
start compilation: ant -buildfile build\build.xml
There will be generated 3 files after successfully compiled:(jwplayer.js, jwplayer.html5.js, jwplayer.flash.swf) saved at bin-release

Latest Comments

Leave a Reply