Closed (fixed)
Project:
Media: Vimeo
Version:
6.x-1.0
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
23 Jan 2010 at 18:56 UTC
Updated:
10 Oct 2010 at 23:40 UTC
i see from a search that this sometimes happens, i have also confirmed on a test site that its not just my production site.
i use image linked to node in the teaser.
Can someone verify this?
6.15
thanks
Comments
Comment #1
Renee S commentedYep, verified. It was working and now... it's not!
Comment #2
vertikal.dk commentedI can report the same problem...
Did nothing and now my Vimeo thumbs are disappearing one by one. Not all are gone, but many.
Really strange and frustrating. The site looks awful!
I also use a lot of views where the thumbnail links to the node.
I checked in the sites/default/files directory, and it seems like some thumbs get deleted completely while others are there in many copies!
And I can't restore them, it seems. Editing does not refresh the thumb although the video works fine on Vimeo, and I can't get a default or backup thumb to work.
Frustrating indeed!
Martin
Comment #3
thaiboxer commentedthanks!
odd the thumbnails are still there, i was not keeping them local.
http://ts.vimeo.com.s3.amazonaws.com/429/173/42917364_100.jpg
Comment #4
vertikal.dk commentedThaiboxer and others,
I just tried to change my settings from keeping a local copy of the thumb to drawing them from the provider - to no avail... I still can't get the thumbs to work on most of my Vimeo videos. Cleared the cache and edited a few just to see if I could provoke any change, but no.
But I did manage to enable the manual thumbnail field and get that to work (in content type/manage fields), but I honestly don't fancy creating and uploading thumbs manually for all the missing ones.
Martin
Comment #5
thaiboxer commentedi'm waiting another day to see if it fixes itself (like prior vimeo outages in previous issues)
they have had a few things going on there this weekend.
http://www.vimeo.com/forums/topic:18026
if not it may need some developer attention.
Comment #6
vertikal.dk commentedThaiboxer,
You were right on with your suggestion. I hate and love such fixes, but today everything works fine, so it can probably have been a Vimeo issue.
It still annoys me that the local thumbs were deleted when they could actually have saved the face of my site, but as I said: it works now.
Martin
Comment #7
angoru commentedIt also happens to me. thumbnails not working, they are at: ts.vimeo.com.s3.amazonaws.com and they just don't appear.
I'm sure it' viemo problem but still waiting for an answer.
Comment #8
bflora commentedI've been using emfield just fine for Youtube videos and want to add Vimeo support to a site as well.
I enabled Vimeo for the emfield on my video content type, but when I paste in a vimeo URL and create the node, all its stores is the id of the video and its URL. It doesn't store a url to a thumbnail, or the duration of the video or anything else.
I'm using 6.x-1.7.
Comment #9
vertikal.dk commentedbflora,
As you can see above we are several people who had the same issue. It seems to be a Vimeo-thing that magically "fixes itself" if you have some patience. That was the case when I had the exact same problem. I have only seen it once.
Martin
Comment #10
bflora commentedThat seems odd. So sometimes you get the thumbnails and sometimes you don't?
Is the URL to the thumbnail supposed to be stored in the node object?
Comment #11
bflora commentedHey everyone, as it seems unclear if embed field can reliably grab vimeo data other than the video's URL and ID, I thought I'd post the PHP code for getting the thumbnail and other data for a given video ID from Vimeo's API. It's not ideal, but you can use this code to create snippets that will ping Vimeo's API on the fly to grab this information.
I found this info in this very useful thread: http://vimeo.com/forums/topic:5913
So the code here
Line 1: Will create a vimeo "API URL" that we can then ask vimeo to tell us more about.
Line 2: Will go get all the vimeo info about that URL
Line 3: Will organize the data it gets from vimeo so we can easily do stuff with it (it comes back looking messy at first.)
So here's the full snippet you could include in your node template:
You might want to enclose that in a test to make sure the current node is a Vimeo video:
if($node->field_video_embed_code[0]['provider'] == 'vimeo'){******}Once you've done all this, you can grab all sorts of useful data about the video: thumbnails, the user who originally posted it, it's publication date etc.
To see all the info you can get, add this into the code snippet as a fourth line:
print_r($vim);The print_r command will print out every bit of information stored in a variable. So you'd be printing out everything vimeo returns. From the stuff you see, you can grab what you want to add to your template.
Examples:
Uploaded date:
print $vim[0]['upload_date'];Original author name:
print $vim[0]['user_name']So there you go!
Now, it'd be ideal for all this info to be stored in the node object itself at the time when the node is created. That's what this module does just fine for Youtube embeds. But as it doesn't appear to be working for vimeo, this is a workaround that will also get the job done. The disadvantage is that you have to make a request to vimeo.com every time you show a vimeo video. That could slow things down a bit or cause problems if vimeo's API crashes. But if you need this info, this method will let you get it.
Cheers.
Comment #12
alex ua commentedI don't know if this is still a problem, but please try emfield 6.x-2.x-dev with Media: Vimeo 6.x-1.x-dev. Moving to the Media: Vimeo queue.
Comment #13
aaron commentedthanks @bflora; i just implemented your suggestion, replacing the previous oembed method (which seems like it's flaky at best, guess that vimeo was only giving lip service to open source). the data is cached now so it shouldn't slow things down. also added duration for good measure.
Comment #14
bflora commented@Aaron, awesome! Glad my suggestion as useful to you.
So how's it work now? The latest release includes the URL to the image in the node object similar to how Media:Youtube works?