You are here

function video_upload_v_info in Video 6.2

Same name and namespace in other branches
  1. 5 types/video_upload/video_upload.module \video_upload_v_info()
  2. 6 types/video_upload/video_upload.module \video_upload_v_info()

Implementation of hook_v_info()

File

types/video_upload/video_upload.module, line 108
video.module

Code

function video_upload_v_info() {
  $info['upload'] = array(
    '#name' => 'Upload Video',
    '#description' => t('Post a video available on your computer as a file to this website.'),
    '#downloadable' => true,
    '#autothumbable' => module_exists('video_ffmpeg_helper') && variable_get('video_image_auto_thumbnail', false),
    '#autoresolution' => module_exists('video_ffmpeg_helper') && variable_get('video_ffmpeg_helper_auto_resolution', false),
    '#autoplaytime' => module_exists('video_ffmpeg_helper') && variable_get('video_ffmpeg_helper_auto_playtime', false),
  );
  return $info;
}