This is a guide to compile the Kaltura Advanced Editor using the FlexBuilder 3 IDE.
The guide assumes the developer has a version of FlexBuilder 3, is running a webserver (we used Wamp), has correctly installed KalturaCE, and has downloaded the Kaltura Advanced Editor (kae_v1.0.15).
Since this wiki doesn't support zip/php/cs/js extensions we have hosted some the required project code on our company website Cattura Video .
Steps to Compile the Kaltura Advanced Editor from Kaltura.org Download
- Download the latest KAE project from Kaltura.org
- Place the file somewhere underneath the web root of your webserver
- Import the project into FlexBuilder (to do this follow instructions below)
- Right click in the project viewer and click import
- Select that it is a Flex project
- Import from 'Project folder'
- Browse to project under web root and accept
- Un-check use default location and assure that folder URL equals project folder so that eclipse will use the same directory and accept
- Copy custom web files to 'html-template' directory (to do this follow instructions below)
- Download files from Cattura Video
- Unzip and copy/overwrite file to the 'html-template' directory of the KAE eclipse project
- Edit the 'Builders' properties (to do this follow instructions below)
- Right-click the project folder and select 'Properties'
- Select 'Builders'
- Deselect 'TraceBuildVersion'
- Edit the 'Flex Build Path' (to do this follow instructions below)
- Right-click the project folder and select 'Properties'
- Select 'Flex Build Path'
- Set 'Output Folder' to 'bin-debug'
- Edit the 'Flex Compiler' properties (to do this follow instructions below)
- Right-click the project folder and select 'Properties'
- Select 'Flex Compiler'
- Under 'Additional compiler arguments' delete 'en_US_kaltura' (for whatever reason eclipse isn't able to find the file)
- Edit the 'Flex Server' properties (to do this follow instructions below)
- Right-click the project folder and select 'Properties'
- Select 'Flex Server'
- Update the 'Root folder' to the root folder of the web server (for example, our's is 'C:\wamp\www') and the 'Root URL' (for example, our's is 'http://127.0.0.1')
- Edit the Build/Run/Debug configuration (to do this follow instructions below)
- Right-click the project folder and select 'Properties'
- Select 'Run/Debug Settings'
- Create or edit configuration
- If configuration exits select configuration and then select 'Edit'. If no configuration exits select 'New' and create new Flex configuration
- Name it whatever you like
- Under 'URL or path to launch' deselect 'Use defaults'
- Browse to the 'html-template' and select the 'index.template.php'. Be sure to replace the 'c:\...' with 'http://..." otherwise FlexBuilder will try to open it with the default text editor rather than browser (for example, we replaced 'C:\wamp\www\Kaltura\KalturaAdvancedVideoEditor\html-template\index.template.php' with 'http://127.0.0.1/Kaltura/KalturaAdvancedVideoEditor/html-template/index.template.php'). Notice that we only used forward slashes here!
- Open browser and browse to the '.../html-template/setup.php' and place the Kaltura values in each field (to do this follow instructions below)
- Open browser and browse to your KalturaCE installation directory. This is the 'Kaltura Service URL' (for example, our's is '192.168.1.88/frameworks/kalturaCE') and then browse to the KMC (for example, our's is 'http://192.168.1.88/frameworks/kalturaCE/index.php/kmc/kmc')
- To obtain a 'Valid Entry ID' select any video in the KMC and get 'Entry Id'. This will be the video or mix that the editor uses.
- To obtain the 'User Secret', 'Admin Secret', 'Partner ID', and 'Sub Partner ID' click 'Account' then 'Server Settings' sub-tab and you should find a list of this information.
- That should be everything so click 'Save' on the setup.php page and you ought to be redirected to the 'index.template.php'
- Run clean to assure that nothing is in the 'bin-debug' directory in case you previously attempted to compile the project. Then run the project.
| Attachment | Size |
|---|---|
| steps_to_compile_kaltura_advanced_editor_from_kaltura_org_download.pdf | 75.77 KB |



