Full ELMS Learning Network documentation
function theme_video_filter_iframe
×
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_iframe($variables) |
cle7 video_filter.module | theme_video_filter_iframe($variables) |
elmsmedia7 video_filter.module | theme_video_filter_iframe($variables) |
icor7 video_filter.module | theme_video_filter_iframe($variables) |
meedjum_blog7 video_filter.module | theme_video_filter_iframe($variables) |
mooc7 video_filter.module | theme_video_filter_iframe($variables) |
Function that outputs HTML5 compatible iFrame for codecs that support it.
Related topics
1 theme call to theme_video_filter_iframe()
- video_filter_iframe 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_iframe()
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 313 - 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_iframe($variables) {
$video = $variables['video'];
$classes = video_filter_get_classes($video);
$output = '<iframe src="' . $video['source'] . '" width="' . $video['width'] . '" height="' . $video['height'] . '" class="' . implode(' ', $classes) . '" frameborder="0"></iframe>';
return $output;
}