How to get thumbnail image to show up in player before video starts?

Blackguard - October 25, 2009 - 13:22
Project:FlashVideo
Version:6.x-1.5-rc4
Component:Miscellaneous
Category:support request
Priority:minor
Assigned:Unassigned
Status:active
Description

I'm using this :

<?php
 
print flashvideo_get_video($node, $params);
?>

The thumbnail file gets generated properly. But I only see a black background in the player before the video is started. I'd like to have the thumbnail show up as a background, but can't seem to make it happen.

I'm using this for the FlashVars to the player
file=@video&image=@thumbnail

Am I missing something?

#1

Blackguard - October 25, 2009 - 21:04
Title:Hot to get thumbnail image to show up in player before video starts?» How to get thumbnail image to show up in player before video starts?

#2

Blackguard - October 26, 2009 - 18:23
Priority:normal» minor

I've found a way to do it, but I'm not marking as fixed in case there is a better way which can be suggested by one of the maintainers. I think this is supposed to be taken care of in an automated way in the module but I just can't find where.

This is my temporary solution in case it's helpful to someone else. In my template file before the flashvideo_get_video() call I find out the filepath for the thumbnail image from the cck field. I add it to the $params array like such :

<?php
$params
['flashvars']['image'] = base_path() . $node->THUMBNAIL_FIELDNAME[0]['filepath'];
?>

#3

pobster - November 6, 2009 - 12:30

Do you not mean the option 'Use Thumbnail as Intro Image.' when in; admin/settings/flashvideo/edit/video (video is your content-type). This works fine for me and displays the thumbnail in the player before the video starts playing (and after its finished).

Pobster

 
 

Drupal is a registered trademark of Dries Buytaert.