You are here

function template_preprocess_scald_flash_object in Scald: Media Management made easy 7

Preprocess variables for the Scald Flash Object template.

File

modules/providers/scald_flash/scald_flash.module, line 141
Defines a flash provider for Scald.

Code

function template_preprocess_scald_flash_object(&$vars) {
  foreach (array(
    'flash_width',
    'flash_height',
  ) as $attribute) {
    $vars['vars'][$attribute] = check_plain($vars['vars'][$attribute]);
  }
}