You are here

function template_preprocess_insert_video in Insert 7

Preprocess variables for the insert-video.tpl.php file.

File

includes/insert.inc, line 104
Insert support for generic files.

Code

function template_preprocess_insert_video(&$vars) {
  $vars = _insert_default_vars($vars);
  $vars['name'] = $vars['file']->filename;
  $vars['mime'] = $vars['file']->filemime;
}