| 1 |
<?php |
<?php |
| 2 |
//$Id: video_youtube.module,v 1.2.4.5 2009/11/07 17:00:56 heshanmw Exp $ |
//$Id: video_youtube.module,v 1.2.4.6 2009/11/08 15:41:54 heshanmw Exp $ |
| 3 |
/** |
/** |
| 4 |
* @file |
* @file |
| 5 |
* Enable Youtube support for video module. |
* Enable Youtube support for video module. |
| 220 |
function video_youtube_v_auto_thumbnail($node) { |
function video_youtube_v_auto_thumbnail($node) { |
| 221 |
if (count($_POST)) { |
if (count($_POST)) { |
| 222 |
if ($_POST['vidfile'] == $node->vidfile) { |
if ($_POST['vidfile'] == $node->vidfile) { |
| 223 |
_video_image_thumbnail_debug(t('No new video to thumbnail')); |
//_video_image_thumbnail_debug(t('No new video to thumbnail')); |
| 224 |
//return NULL; |
//return NULL; |
| 225 |
} |
} |
| 226 |
if ($_POST['tempimage']['fids']['_original']) { |
if ($_POST['tempimage']['fids']['_original']) { |