You are here

function video_cck_ustream_request in Embedded Media Field 5

this is a wrapper for video_cck_request_xml that includes ustream's api key

1 call to video_cck_ustream_request()
video_cck_ustream_data in contrib/video_cck/providers/ustream.inc

File

contrib/video_cck/providers/ustream.inc, line 63

Code

function video_cck_ustream_request($code = '', $cached = TRUE) {
  $key = trim(variable_get('video_cck_ustream_api_key', ''));
  $url = "http://api.ustream.tv/php/video/{$code}/getInfo?key={$key}";
  return module_invoke('emfield', 'request_xml', 'ustream', $url, array(), $cached, FALSE, $code, TRUE);
}