function video_youtube_v_info in Video 6.2
Same name and namespace in other branches
- 5 types/video_youtube/video_youtube.module \video_youtube_v_info()
- 6 types/video_youtube/video_youtube.module \video_youtube_v_info()
Implementation of hook_v_info()
File
- types/
video_youtube/ video_youtube.module, line 110 - Enable Youtube support for video module.
Code
function video_youtube_v_info() {
$info['youtube'] = array(
'#name' => 'Youtube Video',
'#description' => t('Post a video available on !link to this website.', array(
'!link' => l(t('Youtube'), 'http://www.youtube.com'),
NULL,
NULL,
NULL,
TRUE,
)),
'#autothumbable' => variable_get('video_youtube_auto_thumbnail', false),
'#autoresolution' => true,
'#autoplaytime' => true,
);
return $info;
}