Giter Site home page Giter Site logo

noembed's People

Contributors

arthurdarcet avatar audreyt avatar bkerley avatar brycied00d avatar clintecker avatar clkao avatar cwjohnston avatar elcct avatar gummyfrog avatar leedo avatar leofiore avatar malditogeek avatar mancxvi avatar mattwright avatar nathanjones avatar noo-zh avatar nvioli avatar okcoker avatar phikai avatar robrowe avatar ryanfb avatar staeff avatar syncsynchalt avatar tomas avatar tomgross avatar trevorah avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

noembed's Issues

Options

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=?

Youtube description

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.

How is the site free?

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?

TED support broken?

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:

  • The native oembed service accepts http and https URLs. The noembed service only accepts http URLs.
  • The native oembed service accepts URLs with and without the ".html" suffix. The noembed service only accepts URLs with the ".html" suffix.
  • The native oembed service returns the expected (at least for me) type "video". The noembed service returns type "richt".

Not relevant to me, but i noticed:

  • The native oembed service returns a full set of properties (author_name,author_url,description,height,html,provider_name,provider_url,thumbnail_height,thumbnail_url,thumbnail_width,title,type,url,version,width). The noembed service returns only a few of them (html,provider_name,title,type,url).

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!

Regex for handleable URLs

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.

Support for Coub

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

Code for /i/ missing

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

Invalid URL times out

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?

specifying thumbnail size

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!

Documentation for running locally

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?

Website SSL expired

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.

Noembed works no more for TED

Hi, it seems noembed is working no more for TED.com.

Try http://www.noembed.com/demo?url=http://www.ted.com/talks/ken_robinson_says_schools_kill_creativity.html

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.

XKCD mouseover text is not HTML encoded

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 ;;

Boolean attributes are not valid XML

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"

synchronous rewrite?

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.

Any feedback is very welcome! /cc @clkao @audreyt

oembed support in phorkie pastes not detected

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&amp;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&amp;url=http%3A%2F%2Fp.cweiske.de%2F158"/>

The noembed demo still says "no matching providers found".

Re-add Facebook provider

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)

instagram images come out tiny

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.com Down?

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!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.