You are here

function emvideo_ustreamlive_request in Embedded Media Field 6.3

Same name and namespace in other branches
  1. 6 contrib/emvideo/providers/ustreamlive.inc \emvideo_ustreamlive_request()

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

1 call to emvideo_ustreamlive_request()
emvideo_ustreamlive_data in contrib/emvideo/providers/ustreamlive.inc
hook emfield_PROVIDER_data

File

contrib/emvideo/providers/ustreamlive.inc, line 61

Code

function emvideo_ustreamlive_request($code = '', $cached = TRUE) {
  $key = trim(variable_get('emvideo_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);
}