function emvideo_twistage_settings in Embedded Media Field 6
Same name and namespace in other branches
- 6.3 contrib/emvideo/providers/twistage.inc \emvideo_twistage_settings()
Implementation of hook_PROVIDER_settings().
File
- contrib/
emvideo/ providers/ twistage.inc, line 30 - Provide support for Twistage to the emfield.module (http://twistage.com).
Code
function emvideo_twistage_settings() {
$form['twistage']['settings'] = array(
'#type' => 'fieldset',
'#title' => t('Twistage Settings'),
'#collapsible' => TRUE,
'#collapsed' => FALSE,
);
// Ability to change the player profile.
$form['twistage']['settings']['emvideo_twistage_playerprofile'] = array(
'#type' => 'textfield',
'#title' => t('Player Profile'),
'#default_value' => variable_get('emvideo_twistage_playerprofile', ''),
'#description' => t('If desired, enter the player profile to use for videos.'),
);
// Allow for fullscreen video player.
$form['twistage']['settings']['emvideo_twistage_allowfullscreen'] = array(
'#type' => 'checkbox',
'#title' => t('Allow Fullscreen'),
'#default_value' => variable_get('emvideo_twistage_allowfullscreen', TRUE),
);
return $form;
}