function video_cck_zzz_custom_url_settings in Embedded Media Field 5
File
- contrib/
video_cck/ providers/ zzz_custom_url.inc, line 24
Code
function video_cck_zzz_custom_url_settings() {
$options = array(
'wmv' => t('Windows Media (wmv)'),
'wma' => t('Windows Media (wma)'),
'swf' => t('Flash (swf)'),
'flv' => t('Flash Video (flv)'),
'mov' => t('Quicktime (mov)'),
'rm' => t('Real Media (rm)'),
);
$form = array();
$form['video_cck_zzz_custom_url_supported_types'] = array(
'#type' => 'checkboxes',
'#title' => t('Supported Types'),
'#options' => $options,
'#default_value' => variable_get('video_cck_zzz_custom_url_supported_types', _video_cck_zzz_custom_url_default_types()),
'#description' => t('Select the video types you wish to support. When a custom url with that type is entered into an embedded video field, it will be parsed and displayed appropriately. If a type is not supported, then it will be ignored.'),
);
return $form;
}