Posted by sam_squarewave on February 24, 2009 at 12:02am
Jump to:
| Project: | Embedded Media Field |
| Version: | 6.x-1.x-dev |
| Component: | Providers |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
Anyone getting Vimeo working with Drupal 6? I'm getting - Sorry there was a problem loading this video.
I see this same result in the 'Provider analysis' post. I have api key and code.
Comments
#1
I see this - http://drupal.org/node/345515, will try.
#2
I'm using the latest dev version of the plugin on Drupal 6...and Vimeo video thumbnails still isn't appearing...any ideas?
#3
I see the provider no longer needs an api key, but still I have no luck with getting this to work.
#4
I am having no trouble with vimeo
#5
Are you using an API Key?
#6
no
#7
I'm also getting the "Sorry...there was a problem..." screen. This happens with or without an API key.
#8
Add me to the list. What I did notice is that the api seems to be working because if i put
http://vimeo.com/api/oembed.xml?url=http%3A//vimeo.com/with a video ID in it I still see the xml file with thumbnail_url Is it just the breakdown of the xml that's breaking...not sure I'm not too familiar with Viemo's api yet...
#9
function emvideo_vimeo_thumbnail($field, $item, $formatter, $node, $width, $height) {$url = "http://vimeo.com/api/clip/" . $item['value'] . "/php";
$contents = @file_get_contents($url);
$array = @unserialize(trim($contents));
return $array[0][user_thumbnail_large];
}
This is what i'm leaning too. If you use http://vimeo.com/api/clip/videoid/php it outputs it in php rather then xml....I would think less headaces what do you guys think?
#10
The issue is that the path that is being called is http://vimeo.com/api/oembed.xml?url=http://vimeo.com/moogaloop.swf?clip_... rather than http://vimeo.com/api/oembed.xml?url=http://vimeo.com/xxxxxxx so no xml is being returned I have a temporary fix but I thing is needs work hence I'm not going to submit a patch.
<?phpfunction emvideo_vimeo_thumbnail($field, $item, $formatter, $node, $width, $height) {
$movie_id = substr($item['value'], strpos($item['value'], '=') + 1);
$xml = emfield_request_xml('vimeo', 'http://vimeo.com/api/oembed.xml?url=http%3A//vimeo.com/'. $movie_id, array(), TRUE, FALSE, $movie_id);
return $xml['OEMBED']['THUMBNAIL_URL'][0];
}
?>
I'm guessing something needs to happen before thumbnail is called to pass in the correct embed value.
#11
#12
I am re-opening because I am experiencing the same issue and the above patches (hacks) did not work for me. In fact #10 just pulled in random thumbnails. I will research more and post back but this one is not fixed so far as I can tell.
#13
Investigation results...
I am using the Plus account, hiding the video on Vimeo.com and embedding them on my site. Is anyone else experiencing this problem using the same set-up. I think my problem is tied to this.
I found in this thread that you can't use the Simple API to grab thumbnails (http://vimeo.com/forums/topic:28534) made me think it could be something to do with my privacy settings. I posted a public video with no restrictions and added it to a node via emfield and the thumbnail showed up. Using the Devel module and placing
dsm($xml)I was able to see that on the 'private' videos, it seems as though the API response is truncated. I am getting type, version, provider_name, provider_url, html, width, and height in that order. On the public video I am getting the full API response.Therefore the problem (or at least my problem) seems to be with Vimeo's API rather than the emfield module, so re-closing this issue.
#14
Any progress on this issue? Me too, I want to hide from vimeo and integrate in my drupalsite but no thumbnails working :(
So this is a problem on the vimeo side, right? Is registering and using a api-key helping?