You are here

function theme_video_filter_iframe in Video Filter 6.3

Same name and namespace in other branches
  1. 7.3 video_filter.module \theme_video_filter_iframe()

Function that outputs HTML5 compatible iFrame for codecs that support it.

1 theme call to theme_video_filter_iframe()
video_filter_iframe in ./video_filter.module
Wrapper that calls the theme function for iframe output.

File

./video_filter.module, line 587

Code

function theme_video_filter_iframe($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;
}