Skip to content

Instantly share code, notes, and snippets.

@embedly
Created May 5, 2010 19:35
Show Gist options
  • Save embedly/391314 to your computer and use it in GitHub Desktop.
Save embedly/391314 to your computer and use it in GitHub Desktop.
urls = getUrls(status.text);
if (urls != null){
$.each(urls, function(index, url){
$.embedly(url, {maxWidth:580}, function(oembed){
if (oembed != null){
$("LI#status_"+status.id).append(oembed.code);
return false;
}
});
});
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment