function emvideo_ustream_data in Embedded Media Field 6
Same name and namespace in other branches
- 6.3 contrib/emvideo/providers/ustream.inc \emvideo_ustream_data()
 
hook emfield_PROVIDER_data
provides an array to be serialised and made available with $item elsewhere
1 call to emvideo_ustream_data()
- emvideo_ustream_duration in contrib/
emvideo/ providers/ ustream.inc  - hook emvideo_PROVIDER_duration($item) Returns the duration of the video in seconds.
 
File
- contrib/
emvideo/ providers/ ustream.inc, line 80  
Code
function emvideo_ustream_data($field, $item) {
  $data = emvideo_ustream_request($item['value']);
  $data['ustream_api_version'] = $data['emvideo_data_version'] = EMVIDEO_USTREAM_DATA_VERSION;
  return $data;
}