Create a Content template using the Content Template module.
As far as I am concerned, Drupal is incredible! It provides so much flexibiliy while at the same time makes it simple to customize and create the content that you want. However, there is one annoyance that I have with the default installation of Drupal, and that is its inabilty to separate the teasers from the actual view in terms of customization. But don't fret, there is a module that does this for you, and it is called the Content Template module. This module allows the designer the ability to create a template for all views of thier node. This is great for me, because I want to have a teaser that has a thumbnail of the video, while the actual node with have the video itself. Here's how to do it... First of all, download this module and install it in your Drupal website. Then go to the Administer->Content Templates section. From there, select the node type that you are using to create your video... In this tutorial, we are using just the Page node type. From there, just simply expand the Teaser section, and just put [thumbnail] as the teaser for the Page node type. Hit Save Configuration, and you are ready to move on!
Important Note: Please keep in mind that it is very easy to create your very own Node Type for this project using the Content Construction Kit (CCK). For example, I could easily create a new node type called Video if I wish to mimic the Video Module... But for simplicity, we will just stick to the node type Page.
- Step 1: Get FFMPEG
- Step 2: Set up your php.ini file for FlashVideo
- Step 3: Get the FlashVideo Module
- Step 4: Download Joroen Wijering's Flash Player
- Step 5: Set up a Cron Task
- Step 6: Create a Content Template. <-- You are here!
- Step 7: Create your Page!
- Troubleshooting the FlashVideo Module




Can't figure it out.
Hi Travis,
first off, thanks so much for this solution, it's really saved my bacon.
Now to my question - I'm using your module to incorporate video previews of animation that I will be selling via Ubercart. So, when I want the teaser to incorporate a thumbnail of the video I really need to include it along with the other data. How would I go about doing that? Currently the teaser content consists of this:
Image
<?phpforeach ((array)$field_image_cache as $item) {
?>
<?phpprint $item['view']
?>
<?php}
?>
animation_preview
<?phpprint $field_animation_preview[0]['view']
?>
Note
<?phpprint $field_note[0]['view']
?>
Thanks in advance for any help you're able to offer.
You can just use the
You can just use the FlashVideo command to grab your thumbnail... like this.
<?php print flashvideo_get_thumbnail($node); ?>node teaser
Hi Travis,
I just want to thank you for this wonderful module. I checked out your easyfilter page and was wondering how do you align the video thumbnail and what are the settings for your video and thumbnail?
Thank you,
Mark