ElkArte Community

Extending Elk => Addons => Addons ideas and questions => Topic started by: Joshua Dickerson on February 04, 2015, 02:38:33 pm

Title: oEmbed
Post by: Joshua Dickerson on February 04, 2015, 02:38:33 pm
http://oembed.com/

I think it would be cool to have the forum consume objects like Youtube videos and even provide objects as HTML for posts, topics, and members.

I would probably use this library: https://github.com/mpratt/Embera
Title: Re: oEmbed
Post by: emanuele on February 05, 2015, 02:06:33 pm
Ohh...
Interesting!

I remember I found out about oembed a while ago, but I didn't spend much time on it because Spuds brought in the js library, but that php one is rather cool. 8)
Title: Re: oEmbed
Post by: meetdilip on February 05, 2015, 07:59:11 pm
What exactly is this ?
Title: Re: oEmbed
Post by: Joshua Dickerson on February 05, 2015, 09:12:40 pm
Makes it easier to extract the important parts of a webpage. Instead of grabbing all of the HTML from a Youtube page and parsing out the object, it gives you all of the info about the video.
Title: Re: oEmbed
Post by: emanuele on February 06, 2015, 09:36:27 am
Anyway, the oembed could be used via javascript as well like the current code, that way the server doesn't have to wait for responses at posting time and the server wouldn't risk to hit potential limits on number of fetches per day/hour.
Title: Re: oEmbed
Post by: forumsearch0r2 on April 28, 2018, 10:03:53 am
--> https://www.elkarte.net/community/index.php?topic=5178.0