Vimeo ColdFusion wrapper

This post is more than 2 years old.

Last night at our local user group I was introduced to Vimeo. It looks to be a slicker looking clone of YouTube. The video controls are nicer and you can get a HD version of the video as well. (If the submitter provides one of course.) For a good example, ok, a crazy example, check out this video:

GORBACHOV: THE MUSIC VIDEO - BIGGER AND RUSSIANER

Warning - this video is PG13 and a bit on the edge of work safe. But it's funny as heck. Any video with zombies and a storm of blue jeans has to be cool.

Anyway - Vimeo has a few APIs you can use as a developer. Anything involving updating data requires you to send the user to their site, but for generic 'read' support, their API is rather simple. I've worked up a quick CFC that will let you get user and group information as well as generate embed code. It is attached to this blog entry. The API is so simple there really isn't anything cool in my code at all.

Download attached file.

Raymond Camden's Picture

About Raymond Camden

Raymond is a senior developer evangelist for Adobe. He focuses on document services, JavaScript, and enterprise cat demos. If you like this article, please consider visiting my Amazon Wishlist or donating via PayPal to show your support. You can even buy me a coffee!

Lafayette, LA https://www.raymondcamden.com

Archived Comments

Comment 1 by todd sharp posted on 7/16/2008 at 4:24 PM

When is there ever anything 'cool' in your code Camden? ;)

Comment 2 by Raymond Camden posted on 7/16/2008 at 4:27 PM

Once in a blue moon...

Comment 3 by Todd Rafferty posted on 7/16/2008 at 6:04 PM

I have nothing but "BOOBIES!" to say.

Comment 4 by Todd Rafferty posted on 7/16/2008 at 6:11 PM

btw Ray, after finishing the video... um... yeah, that's not on the "the edge of work safe", that <em>is</em> not worksafe, LOL. It only gets worse towards the end.

Comment 5 by Nicole posted on 8/24/2011 at 10:57 PM

How would you return an album with multiple videos? Struggling with the API on it.

Comment 6 by Raymond Camden posted on 8/24/2011 at 11:41 PM

Looking here:

http://www.vimeo.com/api/do...

There is a way to request an album:

http://vimeo.com/api/v2/alb...

and that returns a set of Video items.

Comment 7 by Nicole Smith posted on 3/26/2013 at 12:54 AM

How do I return more than 3 pages of videos though? It is cutting off my XML beyond the 3 pages. Any thoughts?

Comment 8 by Raymond Camden posted on 3/26/2013 at 1:02 AM

Um.... it's been 5 years. No idea. :) I'd check the API docs and ensure you aren't hitting their max # of results.

Comment 9 by Jay Rizzi posted on 11/28/2016 at 9:25 PM

clicked on the download, 404 - file not found :(

Comment 10 (In reply to #9) by Raymond Camden posted on 11/29/2016 at 1:23 AM

Unfortunately I'm away from my external hard drive which has this old stuff on it. The earliest I can fix this is Friday.

Comment 11 (In reply to #9) by Raymond Camden posted on 12/5/2016 at 6:14 PM

Fixed.