BlackSheep

ameo

JoshyPHP

ameo Not with that kind of links, no. Mostly because that's a link to an article that contains a video and replacing one with the other would make the users miss on some content. IOW, they wouldn't read the article. That's different from, say, a YouTube URL.

You'd need an interface to create a custom BBCode for it or add a custom media site for it. If you want to create an extension for yourself, here's the code for extracting the video's ID from an article link:

d1a8lo24

@JoshyPHP do you need to have BBcode enable in order for the mediaembed to work or will it work with markdown?

JoshyPHP

It tranforms links regardless of other extensions. Just post the link, it'll get embedded.

d1a8lo24

@JoshyPHP I see that you can add sites to the extension manually I am guessing. I am more interested in actually being able to process a regular site and just quickly create a quick info box of either the title or description and a small excerpt of the content. Maybe use the fav icon, or the OG icon or even an image from the site if available and display it in a nice box on the discussion just like many of the media links that are supported.

I am not sure if your extension has it but it would be nice if it does, just like "onebox" from discourse which tries to use a website's OG information tags to make it easier to the scraper or use the title and description for such information.