function emvideo_zzz_custom_url_settings in Embedded Media Field 6
Same name and namespace in other branches
- 6.3 contrib/emvideo/providers/zzz_custom_url.inc \emvideo_zzz_custom_url_settings()
File
- contrib/
emvideo/ providers/ zzz_custom_url.inc, line 29 - This is an include file used by emfield.module.
Code
function emvideo_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)'),
'mp4' => t('Quicktime (mp4)'),
'm4v' => t('Quicktime (m4v)'),
'rm' => t('Real Media (rm)'),
);
$form = array();
$form['emvideo_zzz_custom_url_supported_types'] = array(
'#type' => 'checkboxes',
'#title' => t('Supported Types'),
'#options' => $options,
'#default_value' => variable_get('emvideo_zzz_custom_url_supported_types', _emvideo_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;
}