noembed: A simple free alternative of embedly

, , Leave a comment

In one of my projects I was using embedly. Me and my client both were very happy using it. Then it became a paid service.

It is not a bad thing to make a service paid. They have added many new features after that. I liked it even more.

However, my client was not earning a significant amount of money from his website. As a result he was unwilling to pay that amont of money for embedding purpose.

Some days later he asked me to use in the project as it is a free service.

As I started to look into it. I went to their demo page Unfortunately, I found that many of the websites do not work with noembed.

However, I just had to add the functionality of dynamically embedding data from basically 3 video websites. They are YouTube, Vimeo, and Dailyomtion. I was relieved when I found that all of these websites are working with Noembed. That means I will not have to use embedly.

The usage is really straight forward.

To embed the url with noembed, you will have to send a GET request to –

This will return a JSON response like –

"author_name":"Movieclips Trailers",
"title":"Avengers: Endgame Trailer #1 (2019) | Movieclips Trailers",
"html":"\n<iframe width=\" 480\" height=\"270\" src=\"\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"></iframe>\n"

Notice the ‘html‘ attribute. If you put the ‘html’ attribute value in your HTML response, the URL will be embedded.

You will have to perse the JSON response according to the language you are using. In my rails application I used the follwoing line of code to send request and converting the JSON response to rails hashed.

url = ''
content = JSON.parse(open("{CGI::escape(url)}").read)
puts content['html']

You can use Noembed for a number of sites. This link contains a list of supported sites by Noembed:

However, you will find many of the sites do not work with noembed. For this reason, before using noembed for your project test thoroghly if the your desired sites work with it or not.


Leave a Reply