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 responses to “WordPress Feature Idea: Add oEmbed Support to Comments”

  1. 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.

  2. 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.


Subscribe Via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

%d bloggers like this: