function emvideo_flickr_sets_info in Media: Flickr 6
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 '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
- providers/
emvideo/ flickr_sets.inc, line 27 - This include processes flickr.com photosets for use by emfield/emvideo.module.
Code
function emvideo_flickr_sets_info() {
$features = array(
array(
t('Autoplay'),
t('No'),
'',
),
array(
t('RSS Attachment'),
t('No'),
'',
),
array(
t('Thumbnails'),
t('Yes'),
t(''),
),
array(
t('Full screen mode'),
t('Yes'),
t('Full screen mode is enabled for this player, but may not be disabled.'),
),
);
return array(
'provider' => 'flickr_sets',
'name' => t('Flickr Photosets'),
'url' => MEDIA_FLICKR_MAIN_URL,
'settings_description' => t('These settings specifically affect slideshows displayed from !flickr_sets.', array(
'!flickr_sets' => l(t('Flickr.com'), MEDIA_FLICKR_MAIN_URL),
)),
'supported_features' => $features,
);
}