You are here

function video_video_extensions in Video 7

Same name and namespace in other branches
  1. 6.5 video.module \video_video_extensions()
  2. 6.4 video.module \video_video_extensions()
4 calls to video_video_extensions()
theme_video in ./video.theme.inc
video_field_widget_form in ./video.field.inc
Implements hook_field_widget_form().
video_players_admin_settings in modules/video_ui/video.admin.inc
Video player admin settings
video_preset_default_form in modules/video_ui/video.preset.inc
This is used to add all the other settings that you need to declare in your preset. The preset object is passed to this form, so you can use that data to populate the default values for your form elements by using…

File

./video.module, line 477

Code

function video_video_extensions() {
  $extensions = array(
    'divx' => 'video_play_divx',
    'mkv' => 'video_play_divx',
    'mov' => 'video_play_quicktime',
    '3gp' => 'video_play_quicktime',
    '3g2' => 'video_play_quicktime',
    'mp4' => 'video_play_quicktime',
    'rm' => 'video_play_realmedia',
    'f4v' => 'video_play_flv',
    'flv' => 'video_play_flv',
    'swf' => 'video_play_flash',
    'dir' => 'video_play_dcr',
    'dcr' => 'video_play_dcr',
    'asf' => 'video_play_windowsmedia',
    'wmv' => 'video_play_windowsmedia',
    'avi' => 'video_play_windowsmedia',
    'mpg' => 'video_play_windowsmedia',
    'mpeg' => 'video_play_windowsmedia',
    'ogg' => 'video_play_theora',
    'ogv' => 'video_play_theora',
    'webm' => 'video_play_theora',
  );
  return $extensions;
}