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.
Archived Comments
When is there ever anything 'cool' in your code Camden? ;)
Once in a blue moon...
I have nothing but "BOOBIES!" to say.
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.
How would you return an album with multiple videos? Struggling with the API on it.
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.
How do I return more than 3 pages of videos though? It is cutting off my XML beyond the 3 pages. Any thoughts?
Um.... it's been 5 years. No idea. :) I'd check the API docs and ensure you aren't hitting their max # of results.
clicked on the download, 404 - file not found :(
Unfortunately I'm away from my external hard drive which has this old stuff on it. The earliest I can fix this is Friday.
Fixed.