Index: contributions/modules/video/video.module =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/video/video.module,v retrieving revision 1.68 diff -u -p -r1.68 video.module --- contributions/modules/video/video.module 18 Feb 2007 14:23:13 -0000 1.68 +++ contributions/modules/video/video.module 16 Mar 2008 09:30:03 -0000 @@ -424,10 +424,10 @@ function video_nodeapi($node, $op, $arg) switch ($op) { case 'rss item': if ($node->type == 'video') { - $attributes['url'] = _video_get_fileurl($node->vidfile); - $attributes['length'] = $node->size; $mime_type = _video_get_mime_type($node); if ($mime_type) { + $attributes['url'] = _video_get_fileurl($node->vidfile); + $attributes['length'] = ($node->size) ? $node->size : 1; $attributes['type'] = $mime_type; } $media['url'] = $attributes['url'];