You are here

function emvideo_revver_settings in Embedded Media Field 6.3

Same name and namespace in other branches
  1. 6 contrib/emvideo/providers/revver.inc \emvideo_revver_settings()

File

contrib/emvideo/providers/revver.inc, line 27
This include processes revver.com media files for use by emfield.module.

Code

function emvideo_revver_settings() {
  $form = array();
  $form['revver']['api'] = array(
    '#type' => 'fieldset',
    '#title' => t('Revver affiliate program'),
    '#description' => t('You may share ad revenue if you publish Revver videos through their <a href="@program" target="_blank">Affiliate Program</a>.', array(
      '@program' => EMVIDEO_REVVER_AFFILIATE_PROGRAM_URL,
    )),
    '#collapsible' => TRUE,
    '#collapsed' => TRUE,
  );
  $form['revver']['api']['emvideo_revver_affiliate_id'] = array(
    '#type' => 'textfield',
    '#title' => t('Revver associate key'),
    '#default_value' => variable_get('emvideo_revver_affiliate_id', '0'),
    '#description' => t('If you have a Revver Affiliate ID, you may enter it here. This is not required for viewing videos, but will give you proper credit when doing so. You can find your Affiliate ID by examining the URL of a video while logged into their site.'),
  );
  return $form;
}