When you make a view with "Row style: Node" the template ffmpeg_converter_video.tpl.php isn't used.

When you set the display field to "Image linked to file" and you view the node ffmpeg_converter links the first snapshot to the converted file. But when you display the node through a view it just displays the snapshots linked to the respective image.

Comments

jax’s picture

In function ffmpeg_converter_preprocess_content_field(&$variables) { there is the following:

        $field = content_fields($element['#field_name']);
        if (arg(0) == 'node' && arg(1) == $nid) {
          $format = $field['display_settings']['full']['format'];
        }
        else {
          $format = $field['display_settings']['teaser']['format'];
        }

When it is a view you always end up in the else part. If you make it go through the full part it will obey your full view settings.

zoo33’s picture

Status: Active » Fixed

Cool. I changed the above to not rely on arg() but rather use the actual field settings. Thanks!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.