In a nutshell: oohEmbed is an oEmbed compatible provider of HTML embed codes for various web sites.
What is this oEmbed? From oembed.com:
oEmbed is a format for allowing an embedded representation of a URL on third party sites. The simple API allows a website to display embedded content (such as photos or videos) when a user posts a link to that resource, without having to parse the resource directly.
Don't get it? Perhaps an example will make things clear. If you make a URL request like this:
http://oohembed.com/oohembed/?url=http%3A//www.amazon.com/Myths-Innovation-Scott-Berkun/dp/0596527055/
You will get this as the response:
{
"type": "photo",
"version": "1.0",
"provider_name": "Amazon Product Image",
"url": "http://ecx.images-amazon.com/images/I/31%2BfVjL2nqL.jpg",
"height": "500",
"width": "317",
"thumbnail_url": "http://ecx.images-amazon.com/images/I/31%2BfVjL2nqL._SL75_.jpg",
"thumbnail_height": "75",
"thumbnail_width": "48",
"asin": "0596527055",
"title": "The Myths of Innovation",
"author_name": "Scott Berkun",
"author_url": "http://www.amazon.com/gp/redirect.html%3FASIN=0596527055%26location=/Myths-Innovation-Scott-Berkun/dp/0596527055"
}
There, that should make everything clear. Still no? Then perhaps you should go and read this excellent article introducing oEmbed & oohEmbed by Ciaran McNulty. Once you are done reading that, come back here for our Q&A!
How is this useful?
I built oohEmbed to further development of Dumble, my del.icio.us tumblelog.
But I imagine oohEmbed could be useful in several other places. For example, someone could build a
wordpress plugin backed by the oohEmbed web service that makes embedding content into blog posts
easier. (If you do build such a plugin, let me know!)
New: Scroll down to see a list of consumer sites and apps that use oohEmbed.
So what sites can oohEmbed provide information for?
Quite a few to start with - scroll down to see the list. I'll be adding more sites as I find time!
Is oohEmbed really oembed.com spec compliant?
Almost. oohEmbed differs in some ways from the spec.
JSON Callback?
To overcome the same origin policy of web browsers, you can specify a 'callback' parameter as part of your request.
e.g., if you specify 'callback=myCallback' as part of the request, then the JSON response object will be wrapped as a parameter to the myCallback function.
Will this callback expose my site to cross-site attacks?
Possibly. Although you have to trust that I won't be doing anything funny or malicious intentionally, oohEmbed itself is just a proxy to the target website.
So if the target website sends back something bad, all bets are off!
So I can't sue you if anything goes wrong?
No! By using this service, you agree that I will not be held liable for anything that goes wrong. I do appreciate bug reports though.
Is it free to use?
Yes. At the moment, all this service costs me is $10/year for the domain name and several hours of my free time.
Google App Engine kindly hosts the app for free (thanks!) so that's taken care of.
But is it really free?
Oh yes, it is really free too! You can get access to the code that powers oohEmbed.com from the oohEmbed project on Google Code.
The code is available under a liberal BSD license so feel free to use it as you wish. Of course, I'd appreciate any code contributions too!
So I can use the site as much as I want?
Yes, but to a limit. If I detect abuse, I reserve the right to throttle your use or worse, ban you from accessing the service.
Great, how do I sign-up?!
Umm.. there is no sign-up. Here's your service, run with it: http://oohembed.com/oohembed/?url=
I'm all fired up. Where's the oEmbed provider configuration for the oohEmbed service to get me going?
Just scroll down this page for the API endpoint and supported URL schemes.
I notice that you also support websites which already have an oEmbed compliant provider. Why?
Two reasons:
I represent one of the sites for which oohEmbed provides responses and I don't like it.
Fair enough. Drop me an email and I'll stop supporting your site.
How do I report bugs? Do you take feature requests?
Sure. For now, just use the comment form at the end of this page. If this thing gets popular, I'll switch to more traditional
channels of bug tracking.
Update: Now that the oohEmbed open source project is live, you can use the issue tracker on Google Code!
Anything else?
Nothing, except that oohEmbed wouldn't be possible without the folks behind the oEmbed.com spec so kudos to them.
And thanks again to Google for creating App Engine!
Who are you?
I am Deepak Sarda and you can find me here.
There's just one API endpoint: http://oohembed.com/oohembed/. The supported URL schemes are listed below. If you call the API endpoint with a URL that doesn't confirm to one of the schemes listed below, you will get a 404 response. As mentioned earlier, you can use a callback parameter when calling the endpoint.
Click on any item in the list below to see configuration details for that item.
http://*.5min.com/Video/*
http://messagemost1.latest.messagemost.appspot.com/oohembed/?url=http%3A//www.5min.com/Video/Chocolate-Marquise-Recipe-89007978http://*.amazon.(com|co.uk|de|ca|jp)/*/(gp/product|o/ASIN|obidos/ASIN|dp)/*
http://messagemost1.latest.messagemost.appspot.com/oohembed/?url=http%3A//www.amazon.com/Myths-Innovation-Scott-Berkun/dp/0596527055http://*.blip.tv/*
http://messagemost1.latest.messagemost.appspot.com/oohembed/?url=http%3A//pycon.blip.tv/file/2058801/http://*.collegehumor.com/video:*
http://messagemost1.latest.messagemost.appspot.com/oohembed/?url=http%3A//www.collegehumor.com/video%3A1772239http://*.thedailyshow.com/video/*
http://messagemost1.latest.messagemost.appspot.com/oohembed/?url=http%3A//www.thedailyshow.com/video/index.jhtml%3FvideoId%3D210855%26title%3DCNN%2527s-Magic-Wall-Conspiracy-Thrillerhttp://*.dailymotion.com/*
http://messagemost1.latest.messagemost.appspot.com/oohembed/?url=http%3A//www.dailymotion.com/video/x5ioet_phoenix-mars-lander_techhttp://*.flickr.com/photos/*
http://messagemost1.latest.messagemost.appspot.com/oohembed/?url=http%3A//www.flickr.com/photos/fuffer2005/2435339994/http://*.funnyordie.com/videos/*
http://messagemost1.latest.messagemost.appspot.com/oohembed/?url=http%3A//www.funnyordie.com/videos/eae26bb96dhttp://video.google.com/videoplay?*
http://messagemost1.latest.messagemost.appspot.com/oohembed/?url=http%3A//video.google.com/videoplay%3Fdocid%3D8372603330420559198http://www.hulu.com/watch/*
http://messagemost1.latest.messagemost.appspot.com/oohembed/?url=http%3A//www.hulu.com/watch/20807/late-night-with-conanhttp://*.livejournal.com/
http://messagemost1.latest.messagemost.appspot.com/oohembed/?url=http%3A//jace.livejournal.comhttp://*.metacafe.com/watch/*
http://messagemost1.latest.messagemost.appspot.com/oohembed/?url=http%3A//www.metacafe.com/watch/1350976/funny_call/http://*.nfb.ca/film/*
http://messagemost1.latest.messagemost.appspot.com/oohembed/?url=http%3A//www.nfb.ca/film/blackfly/http://*.phodroid.com/*/*/*
http://messagemost1.latest.messagemost.appspot.com/oohembed/?url=http%3A//phodroid.com/09/06/k3q6bdhttp://qik.com/*
http://messagemost1.latest.messagemost.appspot.com/oohembed/?url=http%3A//qik.com/video/86776http://*.revision3.com/*
http://messagemost1.latest.messagemost.appspot.com/oohembed/?url=http%3A//revision3.com/diggnation/2008-04-17xsanned/http://*.scribd.com/*
http://messagemost1.latest.messagemost.appspot.com/oohembed/?url=http%3A//www.scribd.com/doc/17896323/Indian-Automobile-industryPESThttp://*.slideshare.net/*
http://messagemost1.latest.messagemost.appspot.com/oohembed/?url=http%3A//www.slideshare.net/igniteportland/how-to-run-a-startup-without-losing-your-mindhttp://*.twitpic.com/*
http://messagemost1.latest.messagemost.appspot.com/oohembed/?url=http%3A//www.twitpic.com/1pz6zhttp://twitter.com/*/statuses/*
http://messagemost1.latest.messagemost.appspot.com/oohembed/?url=http%3A//twitter.com/mai_co_jp/statuses/822499364http://*.viddler.com/explore/*
http://messagemost1.latest.messagemost.appspot.com/oohembed/?url=http%3A//www.viddler.com/explore/engadget/videos/14/http://www.vimeo.com/* and http://www.vimeo.com/groups/*/videos/*
http://messagemost1.latest.messagemost.appspot.com/oohembed/?url=http%3A//www.vimeo.com/1211060http://*.wikipedia.org/wiki/*
http://messagemost1.latest.messagemost.appspot.com/oohembed/?url=http%3A//en.wikipedia.org/wiki/Life_on_Mars_%28TV_series%29http://*.wordpress.com/yyyy/mm/dd/*
http://messagemost1.latest.messagemost.appspot.com/oohembed/?url=http%3A//martinpitt.wordpress.com/2008/05/07/my-computer-discovered-playing-games/http://*.xkcd.com/*/
http://messagemost1.latest.messagemost.appspot.com/oohembed/?url=http%3A//xkcd.com/310/http://yfrog.(com|ru|com.tr|it|fr|co.il|co.uk|com.pl|pl|eu|us)/*
http://messagemost1.latest.messagemost.appspot.com/oohembed/?url=http%3A//yfrog.com/0wgvcpjhttp://yfrog.(com|ru|com.tr|it|fr|co.il|co.uk|com.pl|pl|eu|us)/*
http://messagemost1.latest.messagemost.appspot.com/oohembed/?url=http%3A//yfrog.us/0bdrwzhttp://*.youtube.com/watch*
http://messagemost1.latest.messagemost.appspot.com/oohembed/?url=http%3A//www.youtube.com/watch%3Fv%3Dvk1HvP7NO5wThese consumers currently use the oohEmbed service.
Moreover, oohEmbed support is already baked into these libraries:
If you are using oohEmbed, please leave a comment below and I'll add you to this list!