You are here

function _video_filter_instructions in Video Filter 6.2

Same name and namespace in other branches
  1. 6.3 video_filter.module \_video_filter_instructions()
  2. 7.3 video_filter.module \_video_filter_instructions()

Parses Codec into instructions for tinymce popup

1 call to _video_filter_instructions()
video_filter_loader in ./video_filter.module
Output tinymce popup html.

File

./video_filter.module, line 397

Code

function _video_filter_instructions() {
  $codecs = module_invoke_all('codec_info');
  $output = '<ul>';
  foreach ($codecs as $codec) {
    $output .= '<li><strong>' . $codec['name'] . '</strong><br />' . $codec['sample_url'] . '</li>';
  }
  $output .= '</ul>';
  return $output;
}