function video_cck_livevideo_request in Embedded Media Field 5
this is a wrapper for video_cck_request_xml that includes livevideo's api key
2 calls to video_cck_livevideo_request()
- video_cck_livevideo_embedded_link in contrib/
video_cck/ providers/ livevideo.inc - hook video_cck_PROVIDER_embedded_link($video_code) returns a link to view the video at the provider's site
- video_cck_livevideo_thumbnail in contrib/
video_cck/ providers/ livevideo.inc - hook video_cck_PROVIDER_thumbnail returns the external url for a thumbnail of a specific video TODO: make the args: ($embed, $field, $item), with $field/$item provided if we need it, but otherwise simplifying things
File
- contrib/
video_cck/ providers/ livevideo.inc, line 61
Code
function video_cck_livevideo_request($method, $args = array(), $cached = true) {
$args['developerId'] = trim(variable_get('video_cck_livevideo_api_key', ''));
$request = module_invoke('emfield', 'request_xml', 'livevideo', VIDEO_CCK_LIVEVIDEO_REST_ENDPOINT . $method, $args, $cached);
return $request;
}