Hello and thanks for this module. I'm following the travis tidwell tutorial on using the flashvideo module, and on step 6 it refers to using the Contemplate module. It instructs the following:

"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!"

I expand the teaser area and in the box of available templates, I do not have anything that says "thumbnail". Where is this coming from? Is it something I need to create? I do see other templates that seem to be created from pre-existing content, so I'm a little confused. Please help.

Christian

Comments

jrglasgow’s picture

I actually got started with Contemplate by following that tutorial. this is the template that I have for my teaser:

<?php 
print $teaser ;

?>
<?php
$count =0;
echo "<table border='0' class='sales'>\n";
echo "<tr>";
foreach($node->files as $key => $value)
{
  echo "<td>[thumbnail: index={$count}]</td><td width='20'></td>";
  $count++;
}
echo "</tr></table>\n";
?>

This will add a teaser of whatever text you have in the node, then display a table, 2 columns, with the thumbnail(s) of your videos.
This is what I have in the body:

<?php print $body ?>
<?php
echo "<table border='0' class='sales'>\n";
$count =0;
foreach($node->files as $key => $value)
{
echo "<tr><td>[video: index={$count}: autostart=false]</td><td width='20'></td></tr>";
$count ++;
}
echo "</table>\n";
?>

This will print a table of your videos just one column. I have it set here to not autostart the video, I hate site that have video or audio autostart with out asking the user.