You are here

function video_cck_imeem_info in Embedded Media Field 5

File

contrib/video_cck/providers/imeem.inc, line 8

Code

function video_cck_imeem_info() {
  $name = t('IMEEM');
  $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' => 'imeem',
    'name' => $name,
    'url' => VIDEO_CCK_IMEEM_MAIN_URL,
    'settings_description' => t('These settings specifically affect videos displayed from !imeem. You can learn more about its !api here.', array(
      '!imeem' => l($name, VIDEO_CCK_IMEEM_MAIN_URL, array(
        'target' => '_blank',
      )),
      '!api' => l(t('API'), VIDEO_CCK_IMEEM_API_INFO, array(
        'target' => '_blank',
      )),
    )),
    'supported_features' => $features,
  );
}