You are here

function video_cck_ustreamlive_request in Embedded Media Field 5

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

1 call to video_cck_ustreamlive_request()
video_cck_ustreamlive_data in contrib/video_cck/providers/ustreamlive.inc

File

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

Code

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