You are here

function emaudio_custom_url_info in Embedded Media Field 6

Same name and namespace in other branches
  1. 6.3 contrib/emaudio/providers/custom_url.inc \emaudio_custom_url_info()

File

contrib/emaudio/providers/custom_url.inc, line 21
This is an include file used by emfield.module.

Code

function emaudio_custom_url_info() {
  $features = array(
    array(
      t('Thumbnails'),
      t('No'),
      '',
    ),
    array(
      t('Autoplay'),
      t('Yes'),
      '',
    ),
    array(
      t('RSS attachment'),
      t('No'),
      '',
    ),
  );
  return array(
    'provider' => 'custom_url',
    'name' => t('Custom URL'),
    'url' => '',
    'settings_description' => t('These settings specifically affect how custom audio files are displayed. When a field uses a URL it determines to be a link directly to an audio file, it will embed that file into the content. Installing the <a href="@flowplayer">Flowplayer module</a> will give the embedded player a nicer look.', array(
      '@flowplayer' => 'http://drupal.org/project/flowplayer',
    )),
    'supported_features' => $features,
    'weight' => 9,
  );
}