function video_url_v_form in Video 6
Same name and namespace in other branches
- 5 types/video_url/video_url.module \video_url_v_form()
- 6.2 types/video_url/video_url.module \video_url_v_form()
Implementation of hook_v_form()
File
- types/
video_url/ video_url.module, line 63 - Enable Path or URL support for video module.
Code
function video_url_v_form(&$node, &$form) {
$form['video']['vidfile'] = array(
'#type' => 'textfield',
'#title' => t('URL to the video'),
'#default_value' => $node->vidfile,
'#maxlength' => 700,
'#required' => TRUE,
'#weight' => -20,
'#description' => t('Insert the URL to the video file. This shuold be something similar to <em>http://www.example.com/videos/myvideo.flv</em>') . ' ' . l(t('More information.'), 'video/help', array(
'fragment' => 'videofile',
)),
);
return $form;
}