function brightcove_media_file_formatter_video_settings in Brightcove Video Connect 7.2
Same name and namespace in other branches
- 7.7 brightcove_media/brightcove_media.module \brightcove_media_file_formatter_video_settings()
- 7.3 brightcove_media/brightcove_media.module \brightcove_media_file_formatter_video_settings()
- 7.4 brightcove_media/brightcove_media.module \brightcove_media_file_formatter_video_settings()
- 7.6 brightcove_media/brightcove_media.module \brightcove_media_file_formatter_video_settings()
1 string reference to 'brightcove_media_file_formatter_video_settings'
- brightcove_media_file_formatter_info in brightcove_media/
brightcove_media.module - Implements hook_file_formatter_info().
File
- brightcove_media/
brightcove_media.module, line 131
Code
function brightcove_media_file_formatter_video_settings($form, $form_state, $settings) {
$element = array();
$element['player'] = array(
'#title' => t('Player Id'),
'#type' => 'textfield',
'#default_value' => isset($settings['player']) ? $settings['player'] : '',
);
$element['player_key'] = array(
'#title' => t('Player Key'),
'#type' => 'textfield',
'#default_value' => isset($settings['player_key']) ? $settings['player_key'] : '',
);
$element['width'] = array(
'#title' => t('Player Width'),
'#type' => 'textfield',
'#default_value' => isset($settings['width']) ? $settings['width'] : '',
);
$element['height'] = array(
'#title' => t('Player Height'),
'#type' => 'textfield',
'#default_value' => isset($settings['height']) ? $settings['height'] : '',
);
return $element;
}