function emvideo_archive_settings in Embedded Media Field 6
hook emvideo_PROVIDER_settings This should return a subform to be added to the emvideo_settings() admin settings page.
Note that a form field set will already be provided at $form['archive'], so if you want specific provider settings within that field set, you should add the elements to that form array element.
File
- contrib/
emvideo/ providers/ archive.inc, line 70 - This is an archive.org provider include file for Embedded Media Video.
Code
function emvideo_archive_settings() {
// We'll add a field set of player options here. You may add other options
// to this element, or remove the field set entirely if there are no
// user-configurable options allowed by the archive provider.
/*$form['archive']['player_options'] = array(
'#type' => 'fieldset',
'#title' => t('Embedded video player options'),
'#collapsible' => TRUE,
'#collapsed' => TRUE,
);
// This is an option to set the video to full screen. You should remove this
// option if it is not provided by the archive provider.
$form['archive']['player_options']['emvideo_archive_full_screen'] = array(
'#type' => 'checkbox',
'#title' => t('Allow fullscreen'),
'#default_value' => variable_get('emvideo_archive_full_screen', 1),
'#description' => t('Allow users to view video using the entire computer screen.'),
);
return $form;*/
}