I can browse for a video, it grabs the thumbnail, but when the node is saved, all I get are the "no video" vimeo logo things.

I have checked CCK display and changed it between default, custom and videoID. It would appear that even though a video is being selected the parameter is not being carried across into the content.

Help would be greatly appreciated.

Comments

jobs@tidal.ca’s picture

I'm having this same problem.

ashjeyes’s picture

Is anyone able to help with this issue?

sridharpandu’s picture

Same problem. Only the title is displayed. Is this got anything to do with the memory requirements of ImageAPI GD? It recommends 96M of PHP memory and I have 32M on my host.

ashjeyes’s picture

I dont think that is is the issue, because I have 256M set in my php.ini file, also it shouldn't require too much php memory on your server (I think)

smallfoambirds’s picture

I'm having trouble with this too. The clip ID is not saved, either in the CCK field or in the content when I attempt to edit it. All I get are empty "browse" links again.

butler360’s picture

Same issue here.

sean-pro’s picture

I have the same issue too.

fildawg’s picture

I have the same issue. I've traced the activity to find that this module is linking to
http://vimeo.com/moogaloop/load/clip:/embed/?

However, Vimeo reports that the resource is no longer available.

Gone

The requested resource
/moogaloop/load/clip:/embed/
is no longer available on this server and there is no forwarding address. Please remove all references to this resource.

fildawg’s picture

I've traced this issue. In vimeo.module on line 532 the function vimeo_cache_video_get is returning a null value to the embed string found around line 897. I'm still tracing to find out why this function is not returning a value. Hope this helps others debug.

fildawg’s picture

Doh! If I'd read all the comments, I'd have seen comment 5 - which I can now confirm - the Vimeo ID is not being saved.

enzo de simone’s picture

I have the same issue too.

cirlot’s picture

I'm having the same issue.

capsicumpie’s picture

Same issue here - no clip ID

Edit:
It appears that the problem may be associated with the field name in the content type. Changing my field name to field_video allowed the clip ID to be stored in the content table...

Edit2:
I think my problem is with line 1007 of vimeo.module:
$field_name = explode('_', $element['#field_name']);

Removing all underscores from the field name makes sure the field name is passed to $field_name correctly.

Editing line 1007 to read:
$field_name = explode('_', $element['#field_name'], 2);
also appears to fix the issue.

kaw3939’s picture

I have the same problem and the posted fix did not work for me.

andreas-emer’s picture

dito as Post #14

mysliwy’s picture

the current theme_vimeo_formatter_default() function won't return any output if $video_vid variable is set. I've managed to get it working by replacing it with this :

function theme_vimeo_formatter_default($element) {
	
  if (isset($element['#item']['value']) && !empty($element['#item']['value']) ) {
    $video_vid = $element['#item']['value'];
  }
  else {
    $video_vid = vimeo_cache_video_get($element['#item']['value']);
  }

  if (is_numeric($video_vid)) 
  
    return '<object width="'. variable_get('vimeo_width', 640) .'" height="'. variable_get('vimeo_height', 360) .'" class="vimeo-video">
    <param name="allowfullscreen" value="true" />
    <param name="allowscriptaccess" value="always" />
    <param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id='.$video_vid.'&amp;server=vimeo.com&amp;show_title='. variable_get('vimeo_title', 1) .'&amp;show_byline='. variable_get('vimeo_byline', 1) .'&amp;show_portrait='. variable_get('vimeo_portrait', 1) .'&amp;color='. variable_get('vimeo_colour', '00ADEF') .'&amp;fullscreen='. variable_get('vimeo_fullscreen', 1) .'&amp;autoplay='. variable_get('vimeo_autoplay', 0) .'" />
    <embed src="http://vimeo.com/moogaloop.swf?clip_id='.$video_vid.'&amp;server=vimeo.com&amp;show_title='. variable_get('vimeo_title', 1) .'&amp;show_byline='. variable_get('vimeo_byline', 1) .'&amp;show_portrait='. variable_get('vimeo_portrait', 1) .'&amp;color='. variable_get('vimeo_colour', '00ADEF') .'&amp;fullscreen='. variable_get('vimeo_fullscreen', 1) .'&amp;autoplay='. variable_get('vimeo_autoplay', 0) .'" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="'. variable_get('vimeo_width', 640) .'" height="'. variable_get('vimeo_height', 360) .'"></embed>
  </object>';
  
}
hughcrawford’s picture

#16 by mysliwy worked for me , thanks!

cirlot’s picture

#13 Removing the underscores worked for me.

dextair’s picture

#16 corrected sucessfully !

jdwfly’s picture

Status: Active » Closed (duplicate)

Duplicate of #777158: Video not shown when Displayed as Default. There was already a fix on there too.