? video-1061092.patch
Index: video_formatter.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/video/Attic/video_formatter.inc,v
retrieving revision 1.1.2.32
diff -u -p -r1.1.2.32 video_formatter.inc
--- video_formatter.inc	27 Jan 2011 11:48:09 -0000	1.1.2.32
+++ video_formatter.inc	15 Feb 2011 14:50:44 -0000
@@ -180,11 +180,19 @@ function theme_video_flv($video, $node) 
         'width' => $video->player_width,
         'height' => $video->player_height,
       ),
-      'othervars' => array(
-        //@todo: swftools bug, can't enable this until they fix their pathing for the images.
-        'image' => $video->thumbnail->swfthumb,
-      ),
     );
+
+    // swftools uses isset() to check for image presence so empty string would confuse it
+    if( !empty($video->thumbnail->swfthumb) ) {
+      $media_path = swftools_get_media_path();
+      // swftools expects path to be relative to file_directory_path(), so we need to strip it
+      if( strpos($video->thumbnail->swfthumb, $media_path) === 0 ) {
+        $options['othervars']['image'] = substr($video->thumbnail->swfthumb, strlen($media_path)); 
+      } else {
+        $options['othervars']['image'] = $video->thumbnail->swfthumb;
+      }
+    }
+    
     $themed_output = swf($video->files->{$video->player}->url, $options);
   } elseif ($video->flash_player == 'flowplayer') {
     // kjh: use a playlist to display the thumbnail if not auto playing
