Customizing the KRecord Look and Feel
This article explains how integrators and project managers can customize KRecord. KRecord does not require a uiConf.
Changing Configuration Values
The index.template.html file (under the KRecord project -> html-template) contains JavaScript and FlashVars. To adapt KRecord to your needs, you can change the following FlashVars:
| Variable | Description |
| ks | A unique string that represents the user. Valid for 24 hours. |
| kshowId | The identifier of the kshow |
| uid | The internal identifier of the end user |
| pid | The identifier of the partner |
| subPid | The identifier of the sub partner |
| fmsApp | The fms application, The default is oflaDemo. |
| showUi | If false, the skin is disabled. |
| themeUrl | The skin file. The default file is skin.swf. |
| localeUrl | An XML file that represents locales. The default file is locale.xml. |
| host | The host of the application |
| rtmpHost | The rtmp host of the application |
| autoPreview | The default value is true. |
| entryName | The name of the created entry |
| entryTags | The tags of the created entry |
| entryDescription | The description of the created entry |
| creditsScreenName | The name of the Credits screen |
| groupId | The identifier of the group |
| partnerData | Custom data, passed from the partner, to be attached to each entry that is added |
| creditsSiteUrl | The URL of the credits site |
| thumbOffset | The offset of the thumbnails |
| adminTags | Admin tags of the created entry |
| licenseType | License type of the created entry |
| credit | Credit for the created entry |
Customizing Skin and Locale
You can create your own skin and locale files.
To apply your skin and locale files to KRecord
Send the following FlashVars:
- themeUrl = [style swf filename]
- localeUrl = [locale XML filename]
Skins
To adapt your skin to the KRecord default skin, refer to KalturaRecord-> library-> skin.fla.
Defining Locales
Define each KRecord locale value in the following XML file format:
<setting> <key>localeKey</key> <value>Value String</value> </setting>
To change the locale, edit the locale.xml file.
(1044 reads)
