Active
Project:
SWF Tools
Version:
6.x-3.0-beta5
Component:
SWF Tools
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
31 May 2011 at 19:49 UTC
Updated:
31 May 2011 at 19:50 UTC
There has been a lot written recently about pulling in thumbnail images for videos, and to be honest, I'm not sure what is what anymore.
I am using contemplate, and I have a field set up in CCK for the video, and another for the thumbnail. The video is configured as a file with no download link and the thumbnail image is set up as a thumbnail in the field configuration.
I am calling my contemplate code this way:
if ($field_video_player[0][filepath]) {
print "Click play to watch the video below:";
print swf(
$node->field_video_player[0]['filepath'],
array(
'flashvars' => array(
'image' => ($node->field_video_thumbnail[0]['filename']),
'params' => array('width' => '425', 'height' => '300'),
)
));
}
No thumbnail is generated. I am wondering if I am doing this incorrectly in Beta5, or what they problem might be?
Comments
Comment #1
djudd commentedOh, I should also specify I am using FlowPlayer 3 as my media player.