You are here

function template_preprocess_kaltura_embed_player in Kaltura 7.2

Prepares variables for kaltura_embed_player templates.

Default template: field_kaltura_embed_player.tpl.php.

Parameters

array $variables: An associative array containing:

  • height: Player height.
  • width: Player width.
  • src: URL to a SWF file.
  • delivery: Flash vars.
  • thumb_url: URL to a thumbnail file.
  • title: Object title.
  • description: Object description.

File

plugins/field_kaltura/field_kaltura.module, line 1032
Kaltura as a field primary module file.

Code

function template_preprocess_kaltura_embed_player(&$variables) {
  $variables['id'] = drupal_html_id('kaltura_player');
}