leedo / noembed Goto Github PK
View Code? Open in Web Editor NEWoEmbed gateway service with additional non-oEmbed sources
Home Page: http://www.noembed.com
oEmbed gateway service with additional non-oEmbed sources
Home Page: http://www.noembed.com
https://www.instagram.com/p/-X9cYdgfKr/ - doesn't work
https://instagram.com/p/-X9cYdgfKr/ - works
http://en.wikipedia.org/wiki/Socratic_method turns out to be really long. should probably be jus the first two paragraphs or 200 chars?
Like this: https://twitter.com/i/moments/710008552295940096
Here is the info: https://dev.twitter.com/web/embedded-moments
Youtube user channels are embedable. Here is a stackoverflow answer for making this happen http://stackoverflow.com/a/25565204 .
Here's an example embed conversion for a user channel url:
https://www.youtube.com/user/MODESTMOUSEVEVO
--->
for use with vimeo and youtube, is there a way to specific a thumbnail size or a minimum thumbnail_width
?
In my tests, vimeo by default only returns 200-300px wide thumbs
thanks!
I noticed that descriptions are missing from the Youtube oembed output. I'm wondering if there's a reason for this, or if it's an oversight and could be added.
hi!
I found out that there are many static references to noembed.com
https://github.com/leedo/noembed/search?utf8=%E2%9C%93&q=%22noembed.com%22&type=Code
Would be great to not have them, in order for each instance to be completely independant of the home page.
Is there an issue with noembed recognizing graph.facebook.com as a provider? I've asked it on stackoverflow here but haven't gotten a response.
First of all thanks for providing noembed. I am currently looking through the code and all the image providers seems to use the /i/ prefix for referring to the images.
Would it be possible to add/include the coder for accessing the images as well? It doesn't seem to be just a proxy request
It looks like the SSL certificate for noembed.com just expired
If someone is still maintaining the site, I thought I'd let you know.
Async is fun, and seems to handle the traffic well. But certain things, particularly syntax highlighting, require forking off a worker process, which does not seem very elegant. Other problems include handling async errors from pre/post download hooks. It has forced awkward things like putting "http_get" methods on the request object.
It would be much simpler to just make everything synchronous and document that noembed should be setup behind a caching proxy like varnish.
I think we could re-use most of the existing code with a few minor changes.
When passing an invalid URL it just hangs and then eventually times out. Is that working as intended? I suppose I could validate the format of the URLs before making a request to Noembed, but it seems like that would probably make more sense to do in the service and just return an error if it's invalid. Thoughts?
Any chance that the Facebook provider removed in 45bf714 will be added back in at some point? (If not, maybe Facebook support should be removed from the docs on noembed.com)
Please add nico nico support. I would like to contribute a patch myself but I don't know perl.
Seems that this project have nico and pixiv support:
https://github.com/lopnor/oembedder/tree/master/lib/OEmbedder/Handler/OEmbed
https://noembed.com/demo?url=http%3A%2F%2Finstagram.com%2Fp%2FfA9uwTtkSN%2F
https://noembed.com/demo?url=http%3A%2F%2Fimgur.com%2FhWdkNdW
Both sites fail with the same error: "Can't call method "parameters" on an undefined value"
Hi there, I have no issues creating API end point.
My issue is how do I provide a javascript rich html material?
The html material I want to provide is a "book" and the javascript library I will rely on is turnjs.
Here is an example of the page I want to expose via noembed:
http://www.turnjs.com/#samples/steve-jobs
So how do I prepare the resource for the resource to be embeddable?
This is a feature request.
It'd be handy to have a regex which matches all URLs Noembed can handle (or all those it has a chance of handling at least). That way I wouldn't send requests to you when there's no point.
Ideally this would be hosted on noembed and could be cached by my site, to be requested again once a day or something.
actually i see it might have been another issue
http://www.noembed.com/demo?url=http%3A%2F%2Fimgur.com%2Fgallery%2FBlaSBIc
How can you set options like autoplay for a video?
This is the URL I'm trying: //noembed.com/embed?url=http%3A%2F%2Fyoutu.be%2FDT-dxG4WWf4&autoplay=1&callback=?
An example request where this happens:
https://noembed.com/embed?url=http://xkcd.com/1726/
The title attribute contains quotes that are correctly escaped on the XKCD site with "
, but the noembed scraper turns them into actual quotes, resulting in invalid HTML.
This looks like an awesome project and will help me save time - all I need is title and thumbnails for youtube and vimeo, being able to get these without bothering with api keys etc is a lifesaver.
It all sounds too good to be true - how is it free? I would have thought such a great service would have generated significant traffic, hosting costs etc?
phorkie, my pastebin software, supports oembed autodiscovery - see http://p.cweiske.de/158:
<link rel="alternate" title="oEmbed" type="application/json+oembed" href="http://p.cweiske.de/oembed.php?format=json&url=http%3A%2F%2Fp.cweiske.de%2F158"/>
<link rel="alternate" title="oEmbed" type="application/xml+oembed" href="http://p.cweiske.de/oembed.php?format=xml&url=http%3A%2F%2Fp.cweiske.de%2F158"/>
The noembed demo still says "no matching providers found".
Dropbox embed errors with message "Can't call method "captures" on an undefined value"
https://noembed.com/embed?url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3Do6bYGQ3wvd4 causes error: "illegal backslash escape sequence in string, "
The URL is valid and works.
I don't know if it's any help, but the title seems to have an iPhone emoji character.
With the recent update of Vimeo, the whole site is served over SSL.
Noembed doesn't account for that yet.
Works: http://noembed.com/embed?url=http%3A%2F%2Fvimeo.com%2F36801345
Doesn't work: https://noembed.com/embed?url=http%3A%2F%2Fvimeo.com%2F36801345
It seems that noembed.com is no longer functional as of a few weeks ago. The source is here to run your own server but I was just wondering if that was permanent or temporary. I had a few projects that made light use of noembed.com but I can set up my own server if the original isn't coming back. Thanks!
To implement a new video provider (https://tube.switch.ch/) I am trying to run noembed locally. After installing al requested packages I get the following error when running locally:
$ plackup app.psgi
Error while loading /home/vagrant/noembed/eg/app.psgi: Can't locate object method "new" via package "AnyEvent::Fork" at ../lib/Noembed/Util.pm line 12.
Is there any documentation how to run this locally or a troubleshooting guide?
This url is specifically failing: https://www.youtube.com/embed/Q2daFOY9e4Q
If I set the url to the video url it works. (working url: https://www.youtube.com/watch?v=Q2daFOY9e4Q )
possibly due to recent ui overhaul?
http://noembed.com/demo?url=http%3A%2F%2Fwww.flickr.com%2Fphotos%2Fkeltia1%2F9054494739%2F contains only the url but not the image.
DeviantART has an oEmbed API, I was wondering if you could add it: https://www.deviantart.com/developers/oembed
Hi, it seems noembed is working no more for TED.com.
Also... The URL for videos in other languages than english are not matched at all by the parser: http://www.ted.com/talks/lang/it/ken_robinson_says_schools_kill_creativity.html
I'm not able to patch this :( Thanks for your work!
EDIT: Sorry, the particular video I've posted seems not to be embeddable even with their embed code. The issue is still valid though. Try a different URL like http://www.ted.com/talks/amanda_palmer_the_art_of_asking.html not working and http://www.ted.com/talks/lang/it/amanda_palmer_the_art_of_asking.html not matched at all.
Hi everyone,
the noembed TED service seems to behave a little bit different when compared to the native oembed service TED is offering, in terms of:
Not relevant to me, but i noticed:
My question is, do you agree with my list or is this behavior by design? I would like our users to put in whatever URL they see in the browsers address bar, but unfortunately that are primarily https URLs without the ".html" suffix :-/.
As i am not familiar with perl a cannot participate directly in changing anything mentioned above but would like to help wherever i can.
I would be grateful for any feedback.
Thank you!
Requesting a gist returns a 200
with an error.
e.g http://noembed.com/embed?url=https://gist.github.com/schacon/4277 returns:
{
"url":"https://gist.github.com/schacon/4277",
"error":"Undefined subroutine &main:: called \n"
}
noembed object html property returns boolean attributes, it breaks XHTML documents.
<iframe width=" 480" height="270" src="https://www.youtube.com/embed/TEmHuISQnNw?feature=oembed" frameborder="0" allowfullscreen></iframe>
The solution is to use
allowfullscreen="allowfullscreen"
Hello,
I may just be calling the api wrong, but it appears the IMDB noembed may be broken.
All the url's I've tested with return "malformed JSON string, neither tag, array, object, number, string or atom
error.
Examples:
https://noembed.com/embed?url=http://www.imdb.com/title/tt1386697/
https://noembed.com/embed?url=http://www.imdb.com/title/tt4853102/
Hi,
I created a docker instance so people can host their own instance.
You can download it here: https://hub.docker.com/r/nicopace/noembed/
e.g. http://trailers.apple.com/trailers/independent/rampart displays at 800px wide regardless of width settings...
Is there a convenient way to reach into the html and tweak the tag's dimensions?
Please, add Coub suport. From oembed.com:
Coub (http://coub.com/)
URL scheme: http://coub.com/view/*
URL scheme: http://coub.com/embed/*
API endpoint: http://coub.com/api/oembed.{format}
Example: http://coub.com/api/oembed.xml?url=http://coub.com/view/um0um0
Example: http://coub.com/api/oembed.json?url=http://coub.com/view/um0um0
Example: http://coub.com/api/oembed.xml?url=http://coub.com/embed/um0um0
Example: http://coub.com/api/oembed.json?url=http://coub.com/embed/um0um0
Instagram images come out tiny.
For example:
This instagram URL:
http://instagr.am/p/J2DyVPuf7k/
Comes up with this 300x300 image:
https://noembed.com/i/http://distilleryimage0.instagram.com/6247006c8edc11e1b9f1123138140926_7.jpg
Whereas instagram's own oembed endpoint returns:
http://api.instagram.com/oembed?url=http://instagr.am/p/J2DyVPuf7k/
Which links to the 612x612 image:
http://distilleryimage0.instagram.com/6247006c8edc11e1b9f1123138140926_7.jpg
Setting maxwidth doesn't appear to do anything.
Noembed::Util::http_get allows @options
, but there's no way to pass proxy =>
option from handle_url.
Using https://open.spotify.com/track/298gs9ATwr2rD9tGYJKlQR through https://noembed.com/demo results to
no matching providers found
And no reference of spotify on https://noembed.com/providers
It seems like i'm getting 404s randomly for some vimeo videos:
https://noembed.com/embed?url=http://vimeo.com/184727489
Returns '404 not found'
Asking vimeo directly for this metadata seems to return the data just fine
https://vimeo.com/api/oembed.json?url=https://vimeo.com/184727489
App.Net has just made their own oembed endpoint available
http://developers.app.net/docs/other/oembed/
Submitting a Spotify URL results in "Can't call method "find" on an undefined value" (see http://noembed.com/demo?url=http%3A%2F%2Fopen.spotify.com%2Ftrack%2F07FjCnZHF4XpHyMMFS20rl)
Shows up here: https://noembed.com/embed?url=http%3A%2F%2Fxkcd.com%2F859%2F
The HTML produced (after parsing the JSON) is:
<img /="/" alt="(" src="https://noembed.com/i///imgs.xkcd.com/comics/(.png" title="Brains aside, I wonder how many poorly-written xkcd.com-parsing scripts will break on this title (or ;;"''{<<[' this mouseover text."">
Which results in the title
attribute getting cut off by the raw quotes:
Brains aside, I wonder how many poorly-written xkcd.com-parsing scripts will break on this title (or ;;
It is not possible to use flickr short urls like https://flic.kr/p/BpBWkF with noembed.
Example: http://noembed.com/demo?url=https%3A%2F%2Fflic.kr%2Fp%2FBpBWkF
Even though the file Flickr/pm looks like it is supposed to work: https://github.com/leedo/noembed/blob/master/lib/Noembed/Provider/Flickr.pm#L7
Flickrs oembed endpoint is capable to resolve this short urls: https://www.flickr.com/services/oembed/?url=https://flic.kr/p/BpBWkF
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.