Oneboxing videos

I’d love to be able to onebox videos like this one on Doesn’t currently work or I haven’t figured out how.

<iframe width="1024" height="576" src="" frameborder="0" allowfullscreen></iframe>

I think you can’t do that because it is an <iframe> and they are not supported by Discourse.

But there is a plugin that you can install to whitelist iframes and add it in your post.

Ping @simon

Yes, that plugin works. It’s not a great solution because it requires people to fork the plugin and add regular expressions for the iframes they wish to whitelist to a javascript file.

I’m wondering if there could be a general iframe onebox, that would return a webpage as an iframe if given a URL something like this:

It would be useful for integrating WordPress sites with Discourse forums.