function your_module_handler_ustream_form in Video Embed Field 7.2
A forms api callback, returns the settings form for the provider
Parameters
$defaults - default/current values for your provider, the currently saved settings: with empty values filled with the defaults provided in info hook
Return value
a form as defined by forms api
See also
http://api.drupal.org/api/drupal/developer!topics!forms_api_reference.ht...
1 string reference to 'your_module_handler_ustream_form'
- hook_video_embed_handler_info in ./
video_embed_field.api.php - @function hook_video_embed_handler_info Can be used to add more handlers for video_embed_field
File
- ./
video_embed_field.api.php, line 110
Code
function your_module_handler_ustream_form($defaults) {
$form = array();
$form['width'] = array(
'#type' => 'textfield',
'#title' => t('Player Width'),
'#description' => t('The width of the player in pixels'),
'#default_value' => $defaults['width'],
);
return $form;
}