function theme_video_filter_flash

×

Error message

User warning: The following module is missing from the file system: theme/theme. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1156 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
cis7 video_filter.module theme_video_filter_flash($variables)
cle7 video_filter.module theme_video_filter_flash($variables)
elmsmedia7 video_filter.module theme_video_filter_flash($variables)
icor7 video_filter.module theme_video_filter_flash($variables)
meedjum_blog7 video_filter.module theme_video_filter_flash($variables)
mooc7 video_filter.module theme_video_filter_flash($variables)

Function that outputs the <object> element.

Related topics

1 theme call to theme_video_filter_flash()
video_filter_flash in sites/all/modules/ulmus/video_filter/video_filter.module
Wrapper that calls the theme function.
1 string reference to the theme hook from theme_video_filter_flash()

Note: this list is generated by looking for the string for this theme hook, so it may include some references that are not actually using this theme hook.

video_filter_theme in sites/all/modules/ulmus/video_filter/video_filter.module
Implements hook_theme().

File

sites/all/modules/ulmus/video_filter/video_filter.module, line 279
Video filter is a highly flexible and easy extendable filter module to embed any type of video in your site using a simple tag.

Code

function theme_video_filter_flash($variables) {
  $output = '';

  $video = $variables['video'];
  $params = isset($variables['params']) ? $variables['params'] : array();

  $classes = video_filter_get_classes($video);

  $output .= '<object class="' . implode(' ', $classes) . '" type="application/x-shockwave-flash" ';

  $output .= 'width="' . $video['width'] . '" height="' . $video['height'] . '" data="' . $video['source'] . '">' . "\n";

  $defaults = array(
    'movie' => $video['source'],
    'wmode' => 'transparent',
    'allowFullScreen' => 'true',
  );

  $params = array_merge($defaults, (is_array($params) && count($params)) ? $params : array());

  foreach ($params as $name => $value) {
    $output .= '  <param name="' . $name . '" value="' . $value . '" />' . "\n";
  }

  $output .= '</object>' . "\n";

  return $output;
}
Error | ELMSLN API

Error

×

Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/api.elmsln.org/includes/common.inc:2791) in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/api.elmsln.org/sites/all/modules/apc/drupal_apc_cache.inc).
The website encountered an unexpected error. Please try again later.