function emaudio_odeo_info in Embedded Media Field 6
Same name and namespace in other branches
- 5 contrib/emaudio/providers/odeo.inc \emaudio_odeo_info()
- 6.3 contrib/emaudio/providers/odeo.inc \emaudio_odeo_info()
Implementation of hook emaudio_odeo_info().
This returns information relevant to a specific 3rd party audio provider.
Return value
An array of strings requested by various admin and other forms. 'name' => The translated name of the provider. 'url' => The url to the main page for the provider. 'settings_description' => A description of the provider that will be posted in the admin settings form. 'supported_features' => An array of rows describing the state of certain supported features by the provider. These will be rendered in a table, with the columns being 'Feature', 'Supported', 'Notes'.
File
- contrib/
emaudio/ providers/ odeo.inc, line 22 - This include processes Odeo audio files for use by emaudio.module.
Code
function emaudio_odeo_info() {
$features = array(
array(
t('Autoplay'),
t('No'),
'',
),
array(
t('RSS Attachment'),
t('No'),
'',
),
array(
t('Thumbnails'),
t('No'),
t(''),
),
);
return array(
'provider' => 'odeo',
'name' => t('odeo'),
'url' => EMAUDIO_ODEO_MAIN_URL,
'settings_description' => t('These settings specifically affect audio podcasts displayed from <a href="@odeo" target="_blank">odeo</a>.', array(
'@odeo' => EMAUDIO_ODEO_MAIN_URL,
)),
'supported_features' => $features,
);
}