When you select Default view in cck display, the video is not shown.

A workarround is to select Customized in the display field panel for a complete node.

CommentFileSizeAuthor
#2 vimeo-777158.patch3.34 KBjdwfly

Comments

jdelaune’s picture

Yeah sorry I patched the last version wrong. I'll get another update out soon.

jdwfly’s picture

Status: Active » Needs review
StatusFileSize
new3.34 KB
function theme_vimeo_formatter_default($element) {
  if (isset($element['#item']['value']) && !empty($element['#item']['value']) ) {
    $video_vid = $element['#item']['value'];
  }
...

This code seems kind of pointless since $video_vid is never used again in the function. Maybe you were going to do something with it??

Attached is a patch that removes that code and makes the default field formatter work again. This may or may not be what the maintainer wants but at least it is here for anyone who stumbles upon it.

lee20’s picture

Priority: Normal » Critical
Status: Needs review » Reviewed & tested by the community

The patch in #2 worked for me. Thanks jdwfly!

Marking as critical as the module is unusable without this patch.

jdwfly’s picture

Status: Reviewed & tested by the community » Needs work

This needs to be updated for the latest vimeo embed code.

jdwfly’s picture

Status: Needs work » Fixed

fix committed

Status: Fixed » Closed (fixed)

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