About
The Templatized Embed Code module enables users to share video entries using a customized embed code. The embed code includes HTML structures.
This guide explains how to enable and configure the Templatized Embed Code module in the Configuration Management console.
This module is for both Theming and non-Theming users, however, only Theming users may allow multiple embed code templates to be defined.
For technical support, contact Kaltura Customer Care. For all other inquiries, reach out to your Customer Success Manager.
Configure
- Log into the Configuration Management console by going to your video portal URL and adding /admin at the end.
- Enter your Kaltura user ID and password.
- Click Sign In.
The Configuration Management console displays.
- In the list of configurable items on the left of your screen, locate and click on Templatizedembedcode. (The item will be crossed out because it's disabled by default.)
- The Templatizedembedcode window displays.
The Module Info box displays the module name, description (what enabling this module allows users to do and a list of special placeholders and the content with which they will be replaced), and version number.
- Configure the following:
If this module is not in your KMS application, please get in touch with your Kaltura representative to inquire about adding it.
enabled - Set to 'Yes' to enable the module. Once the module is enabled, the end user will have the ability to copy and paste the embed code defined in this module.
tabName - Type the name of the tab or menu item.
multiTemplateEmbed - Set to 'Yes' to allow multiple embed code templates to be defined. If enabled, the embed code template will be selected by the user from a drop-down list. (Note - This option is available only for Theming users.)
allowedRoles - Select one or more roles that can use the Templatizedembedcode module.
The options are as follows:
- Owner Only
- Co-Editor
- Co-Publisher
- Specific Users / Groups
- anonymousRole
- ViewerRole
- PrivateOnlyRole
- AdminRole
- UnmoderatedAdminRole
For more information about contextual roles, visit our article Video Portal and KAF roles and permissions.
embedCodeTemplate - The HTML code with replacement tokens (see all available replacement tokens in the Module Info box).
showStartAt - Select 'Yes' or 'No'. When enabled, the Start At field is shown in the UI, allowing users to set a start time for the embed code. If disabled, the Start At field is hidden and the embed code will start at 0.00 by default.
showEmbedSize - Select 'Yes' or 'No'. When enabled, the Embed Size field is shown in the UI, allowing users to set the embed size for the embed code. If disabled, the Embed Size field is hidden and uses the default MediaSpace player dimensions.
embedSizes - Define sizes that can be used for embedded players. Define the player size in the following format: {width} x {height}
Default values are as follows:
- large 608x402
- medium 400x285
- small 304x231
7. Click Save.
You receive a notice that your configuration for Templatizedembedcode was saved and the cache was cleared.
This document is maintained by Kaltura’s Professional Services team. Please send comments or corrections to your Customer Success Manager. Ask them to forward it to the Professional Services team. We are committed to improving our documentation and your feedback is appreciated.

