function your_module_handle_ustream_thumbnail in Video Embed Field 7.2
Retrieve information about the thumbnail for a given url
Parameters
$url - the url of the video as entered by the user:
Return value
an array with the keys: 'id' => an id for the video which is unique to your provider, used for naming the cached thumbnail file 'url' => the url to retrieve the thumbnail from
1 string reference to 'your_module_handle_ustream_thumbnail'
- 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 95
Code
function your_module_handle_ustream_thumbnail($url) {
return array(
'id' => '12332243242',
//generally the id that the provider uses for the video
'url' => 'http://something/thumbnail/somthing.jpg',
);
}