Thumbnail Not Showing Within Player When Intro Video is Enabled
saljustsal - February 12, 2009 - 01:13
| Project: | FlashVideo |
| Version: | 5.x-2.8-rc3 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
Hello,
After enabling an intro video, videos for that type no longer show a thumbnail image within the player (when the flashvars "file=@video&image=@thumbnail" are passed). Instead it is blank, as if no thumbnail is there. If I disable the intro video, it comes back.
If I pass the thumbnail to the teaser, it is visible (outside the player) whether the intro video is enabled or not.
I appreciate any help you can give me.

#1
For this setup, I'd recommend not using a [video] tag inside the content.
I'd recommend making a node-video.tpl.php inside your theme and replacing print $content with:
<?phpif ($teaser): /* teaser */
print flashvideo_get_thumbnail($node);
else: /* full node */
//$params['file'] = 'http://www.google.com'; // path to the video file.
//$params['id'] = 'google-3754293779500828561';
//$params['flashvars']['streamer2'] = 'blahblahblah';
//$params['fids'] = 'node';
print flashvideo_get_video($node, $params);
print $content;
endif; ?>