This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Category - info | |
Domain - http://slideshare.net | |
http://www.slideshare.net/doina/happy-easter-from-holland-slideshare | |
http://www.slideshare.net/stinson/easter-1284190 | |
http://www.slideshare.net/angelspascual/easter-events | |
http://www.slideshare.net/sirrods/happy-easter-3626014 | |
http://www.slideshare.net/sirrods/happy-easter-wide-screen | |
http://www.slideshare.net/carmen_serbanescu/easter-holiday | |
http://www.slideshare.net/Lithuaniabook/easter-1255880 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"provider_url": "http://vimeo.com/","title": "Digital Graffiti at the Olympic Village","html": "<object width="640" height="424"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=9503416&server=vimeo.com&show_title=1&show_byline=1&show_portrait=1&color=00ADEF&fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=9503416&server=vimeo.com&show_title=1&show_byline=1&show_portrait=1&color=00ADEF&fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="640" height="424"></embed></object>","author_name": "Alex Beim","height": "424","width": "640","version": "1.0","thumbnail_width": "200","provider_name": "Vimeo","thumbnail_url": "http://ats.vimeo.com/472/326/47232676_200.jpg","type": "video","thumbnail_height": "150","author_url": "http://vimeo.com/tangible",} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import embedly | |
oembed_json = embedly.get_oembed('http://www.youtube.com/watch?v=60og9gwKh1o') | |
print oembed_json.get('title') | |
print oembed_json.get('html') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This is an implementation using python-oembed with api.embed.ly | |
# python-oembed http://code.google.com/p/python-oembed/ | |
import oembed | |
# Embed.ly Multi Provider API Endpoint | |
OEMBED_ENDPOINT = 'http://api.embed.ly/oembed/api/v1' | |
# URL Schemes Supported --- complete list maintained | |
# http://api.embed.ly/static/data/embedly_regex.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Call API to get a video oEmbed JSON response | |
var url = escape('http://vimeo.com/9503416'); | |
var api_url = 'http://api.embed.ly/v1/api/oembed?url=' + url + '&callback=?'; | |
//jQuery JSON call | |
$.getJSON( api_url, function(json) { | |
var html = json.html; | |
$('#videodiv').html(html); | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import urllib | |
import urllib2 | |
try: | |
import json | |
except ImportError: | |
try: | |
import simplejson as json | |
except ImportError: | |
raise ImportError("Need a json decoder") |
NewerOlder