function emvideo_sevenload_info in Embedded Media Field 6
Same name and namespace in other branches
- 6.3 contrib/emvideo/providers/sevenload.inc \emvideo_sevenload_info()
hook emvideo_PROVIDER_info this returns information relevant to a specific 3rd party video 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
File
- contrib/
emvideo/ providers/ sevenload.inc, line 19 - This include processes Sevenload media files for use by emfield.module.
Code
function emvideo_sevenload_info() {
$features = array(
array(
t('Autoplay'),
t('No'),
'',
),
array(
t('RSS Attachment'),
t('No'),
'',
),
array(
t('Thumbnails'),
t('No'),
'',
),
);
return array(
'provider' => 'sevenload',
'name' => t('Sevenload'),
'url' => EMVIDEO_SEVENLOAD_MAIN_URL,
'settings_description' => t('These settings specifically affect videos displayed from <a href="@provider" target="_blank">Sevenload</a>.', array(
'@provider' => EMVIDEO_SEVENLOAD_MAIN_URL,
)),
'supported_features' => $features,
);
}