Hi

Just installed video filter and seem so be workign a treat.

However the front page of my site will only have teasers so I only want to show the video when you view the post in full.

Is there an easy way to do this?

Thanks

Comments

chandrabhan’s picture

Yes, how to show a thumbnail in the teaser instead of the video?

fokkezb’s picture

Status: Active » Closed (won't fix)

That's not supported and I don't plan on supporting it either. It's a simple filter and not a node type and I think the behaviour you describe is more that of a video node type. What this module does is simply embed a video. If you want it only to show up in the body you just have to put the filter code there and use a different teaser (only possible in 6.x).

Pushkar Gaikwad’s picture

well what position do I need to put this filter ? I am getting this code -

so this code is not getting parsed

zilched’s picture

In case it helps anyone, i solved this with the following in node.tpl.php:

if ($teaser)
    {
      $output = render($content);
      $output = preg_replace('/<iframe.*?\/iframe>/i','', $output);
      print $output;
    }