Guide to compile the Kaltura Advanced Editor

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

  1. Download the latest KAE project from Kaltura.org
  2. Place the file somewhere underneath the web root of your webserver
  3. Import the project into FlexBuilder (to do this follow instructions below)
    1. Right click in the project viewer and click import
    2. Select that it is a Flex project
    3. Import from 'Project folder'
    4. Browse to project under web root and accept
    5. Un-check use default location and assure that folder URL equals project folder so that eclipse will use the same directory and accept
  4. Copy custom web files to 'html-template' directory (to do this follow instructions below)
    1. Download files from Cattura Video
    2. Unzip and copy/overwrite file to the 'html-template' directory of the KAE eclipse project
  5. Edit the 'Builders' properties (to do this follow instructions below)
    1. Right-click the project folder and select 'Properties'
    2. Select 'Builders'
    3. Deselect 'TraceBuildVersion'
  6. Edit the 'Flex Build Path' (to do this follow instructions below)
    1. Right-click the project folder and select 'Properties'
    2. Select 'Flex Build Path'
    3. Set 'Output Folder' to 'bin-debug'
  7. Edit the 'Flex Compiler' properties (to do this follow instructions below)
    1. Right-click the project folder and select 'Properties'
    2. Select 'Flex Compiler'
    3. Under 'Additional compiler arguments' delete 'en_US_kaltura' (for whatever reason eclipse isn't able to find the file)
  8. Edit the 'Flex Server' properties (to do this follow instructions below)
    1. Right-click the project folder and select 'Properties'
    2. Select 'Flex Server'
    3. 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')
  9. Edit the Build/Run/Debug configuration (to do this follow instructions below)
    1. Right-click the project folder and select 'Properties'
    2. Select 'Run/Debug Settings'
    3. Create or edit configuration
      1. If configuration exits select configuration and then select 'Edit'. If no configuration exits select 'New' and create new Flex configuration
      2. Name it whatever you like
      3. Under 'URL or path to launch' deselect 'Use defaults'
      4. 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!
  10. Open browser and browse to the '.../html-template/setup.php' and place the Kaltura values in each field (to do this follow instructions below)
    1. 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')
    2. 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.
    3. 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.
    4. That should be everything so click 'Save' on the setup.php page and you ought to be redirected to the 'index.template.php'
  11. 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.
AttachmentSize
steps_to_compile_kaltura_advanced_editor_from_kaltura_org_download.pdf75.77 KB