'spike tv', 'name' => $name, 'url' => VIDEO_CCK_SPIKE_MAIN_URL, 'settings_description' => t('These settings specifically affect videos displayed from !spike.', array('!spike' => l($name, VIDEO_CCK_SPIKE_MAIN_URL, array('target' => '_blank')))), 'supported_features' => $features, ); } function video_cck_spike_settings() { $form = array(); return $form; } function video_cck_spike_extract($embed) { return array( // http://www.spike.com/video/2836119/collection/19459/channel/comedy //

"I Lost It" with Tom Cruize and Jesus

Posted Mar 25, 2007

What happens when Jesus, Abe Lincoln, Tom Cruise, Dustin Hoffman, Buddha and Einstein play a friendly game of poker?

'@spike\.com/video/([^/&"\?]*)@i', ); } function video_cck_spike_request($embed, $cacheable = TRUE) { return NULL; } function video_cck_spike_video_link($video_code) { return 'http://www.spike.com/video/'. $video_code; } function theme_video_cck_spike_flash($embed, $width, $height, $autoplay) { // TODO: figure out autoplay... // if ($embed) { $autoplay = $autoplay ? ' autoplay="true"' : ''; $output = ' '; } return $output; } /** * TODO: Is this correct? Using ifilmpro for thumbnails. */ function video_cck_spike_thumbnail($field, $item, $formatter, $node, $width, $height) { $picturelink = substr($item['value'], 0, 7); return 'http://img1.ifilmpro.com/resize/image/stills/films/resize/istd/'. $picturelink .'.jpg?width='. $width; } function video_cck_spike_video($embed, $width, $height, $field, $item, $autoplay) { $output = theme('video_cck_spike_flash', $embed, $width, $height, $autoplay); return $output; } function video_cck_spike_preview($embed, $width, $height, $field, $item, $autoplay) { $output = theme('video_cck_spike_flash', $embed, $width, $height, $autoplay); return $output; }