You are here

function emaudio_zzz_custom_url_settings in Embedded Media Field 5

File

contrib/emaudio/providers/zzz_custom_url.inc, line 24

Code

function emaudio_zzz_custom_url_settings() {
  $options = array(
    'mp3' => t('MP3'),
    'wav' => t('Wav'),
    'rm' => t('Real Media (rm)'),
  );
  $form = array();
  $form['emaudio_zzz_custom_url_supported_types'] = array(
    '#type' => 'checkboxes',
    '#title' => t('Supported Types'),
    '#options' => $options,
    '#default_value' => variable_get('emaudio_zzz_custom_url_supported_types', _emaudio_zzz_custom_url_default_types()),
    '#description' => t('Select the audio types you wish to support. When a custom url with that type is entered into an embedded audio field, it will be parsed and displayed appropriately. If a type is not supported, then it will be ignored.'),
  );
  return $form;
}