You are here

function video_cck_bliptv_preview in Embedded Media Field 5

File

contrib/video_cck/providers/bliptv.inc, line 295

Code

function video_cck_bliptv_preview($code, $width, $height, $field, $item, $autoplay, $options = array()) {
  if ($item['data']['video_cck_bliptv_data_version'] >= 1) {
    $flv = $item['data']['flv']['url'];
    $thumbnail = $item['data']['thumbnail']['url'];
  }
  else {
    $flv = $item['data']['flv'];
    $thumbnail = $item['data']['thumbnail'];
  }
  $output = theme('video_cck_bliptv_flash', $code, $width, $height, $field, $item, $autoplay, $flv, $thumbnail, $options);
  return $output;
}