function hook_video_embed_handler_info_alter in Video Embed Field 7.2
Performs alterations on video_embed_field handlers.
Parameters
$info: Array of information on video handlers exposed by hook_video_embed_handler_info() implementations.
1 invocation of hook_video_embed_handler_info_alter()
- video_embed_get_handlers in ./
video_embed_field.module - Creates a hook that other modules can implement to get handlers.
File
- ./
video_embed_field.api.php, line 62
Code
function hook_video_embed_handler_info_alter(&$info) {
// Change the thumbnail function for 'ustream' provider.
if (isset($info['ustream'])) {
$info['ustream']['thumbnail_function'] = 'your_module_handle_ustream_thumbnail_alter';
}
}