function video_field_widget_info in Video 7.2
Same name and namespace in other branches
- 7 video.field.inc \video_field_widget_info()
Implements hook_field_widget_info().
File
- ./
video.field.inc, line 601 - Implement a video field, based on the file module's file field.
Code
function video_field_widget_info() {
return array(
'video_upload' => array(
'label' => t('Video Upload'),
'field types' => array(
'video',
),
'settings' => array(
'progress_indicator' => 'throbber',
),
'behaviors' => array(
'multiple values' => FIELD_BEHAVIOR_CUSTOM,
'default value' => FIELD_BEHAVIOR_NONE,
),
),
);
}