function video_cck_guba_info in Embedded Media Field 5
File
- contrib/
video_cck/ providers/ guba.inc, line 7
Code
function video_cck_guba_info() {
$name = t('GUBA');
$features = array(
array(
t('Autoplay'),
t('Yes'),
'',
),
array(
t('RSS Attachment'),
t('No'),
'',
),
array(
t('Show related videos'),
t('No'),
t('This is embedded in the video itself when enabled; currently not available with other providers. Set the feature above.'),
),
array(
t('Thumbnails'),
t('Yes'),
t('May not currently resize thumbnails. Must have an API key for thumbnails at the moment, although research is underway to determine an alternative to this. Set your API key above.'),
),
);
return array(
'provider' => 'guba',
'name' => $name,
'url' => VIDEO_CCK_GUBA_MAIN_URL,
'settings_description' => t('These settings specifically affect videos displayed from !guba. You can learn more about its !api here.', array(
'!guba' => l($name, VIDEO_CCK_GUBA_MAIN_URL, array(
'target' => '_blank',
)),
'!api' => l(t('API'), VIDEO_CCK_GUBA_API_INFO, array(
'target' => '_blank',
)),
)),
'supported_features' => $features,
);
}