Vimeo?

sam_squarewave - February 24, 2009 - 00:02
Project:Embedded Media Field
Version:6.x-1.x-dev
Component:Providers
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

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.

#1

sam_squarewave - February 24, 2009 - 00:04

I see this - http://drupal.org/node/345515, will try.

#2

TheProducer - February 25, 2009 - 03:15
Version:6.x-1.0-beta1» 6.x-1.x-dev

I'm using the latest dev version of the plugin on Drupal 6...and Vimeo video thumbnails still isn't appearing...any ideas?

#3

sam_squarewave - February 27, 2009 - 01:52

I see the provider no longer needs an api key, but still I have no luck with getting this to work.

#4

bjraines - February 27, 2009 - 18:00

I am having no trouble with vimeo

#5

TheProducer - March 3, 2009 - 04:26

Are you using an API Key?

#6

bjraines - March 4, 2009 - 01:57

no

#7

gmak - March 13, 2009 - 21:38

I'm also getting the "Sorry...there was a problem..." screen. This happens with or without an API key.

#8

brian.mccune - March 17, 2009 - 22:03

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

brian.mccune - March 17, 2009 - 21:55

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

marcingy - June 23, 2009 - 23:29

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.

<?php
function 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

sam_squarewave - August 27, 2009 - 05:23
Status:active» closed
 
 

Drupal is a registered trademark of Dries Buytaert.