WordPress Feature Idea: Add oEmbed Support to Comments

One of my favorite features in WordPress is the ability to easily embed content from services such as YouTube by copying and pasting the source URL into the post editor. The feature is called oEmbed and was added seven years ago to WordPress 2.9.

While content authors enjoy the luxury of easily embedding content, commenters do not. That’s because the WordPress comment form does not support oEmbed leaving readers to paste links instead. I think it’s time the WordPress comment section receives oEmbed support to pass along the ease of embedding content to readers.

Not only will it liven up comment sections across the web with the ability to go beyond text, but it makes it easier to maintain the conversation in one place. Instead of having to browse away from the conversation to watch a video, readers can watch it within the comment section.

One of the largest things to consider is how embedded content is displayed in nested comments, especially those that are three to four levels deep. This may not be an issue if the content and the site’s theme is responsive. Perhaps logic could be added so that URLs are used instead of embedding the content for comments that are three to four levels deep.

A cursory search of WordPress trac turns up zero results for tickets related to this idea. Before I create a ticket, I’d like to hear your thoughts, especially the drawbacks to adding oEmbed support to comments.

8 Comments


    1. I didn’t realize WordPress.com had oEmbed enabled for comments. Glad to hear there’s been little to no issues.

      Report


  1. We’ve had them on our site at WP Site Care since disabling Disqus a while back with no noteworthy issues. I don’t think most people are aware that they can embed things, but on the rare occasion that they do it’s pretty cool.

    We use this plugin, which is pretty simple: https://wordpress.org/plugins/oembed-in-comments/

    Report


  2. I can’t think of any technical reason to disallow this, just aesthetic ones. Which could be solved, somehow. Seems like a good feature plugin idea.

    Report


  3. A lot of commenters post notes to social media instead of blogs now. I do. Too bad this didn’t come along earlier.

    Report


  4. We were playing with this idea for Epoch and have it on the roadmap for 2.1.

    We are still working on the Epoch 2.0 release and maybe I’ll see if we can at least get support for the standard wp autoembeds in there. Might be easy to pull off.

    You are right, of course… figuring out what to do with the embeds on deeply nested (and mobile) will take some tinkering. It’s a fun challenge, though. On the list.

    Report


  5. Why would I want anyone to leave anything other than a comment in my website’s comment section? If someone has a video they think needs to be watched in response to something I’ve written on my site, I would rather they posted a link to the video, not the video itself.

    Report

Comments are closed.