Beginner's Guide for WordPress - Start your WordPress Blog in minutes.
Choosing the Best
WordPress Hosting
How to Easily
Install WordPress
Recommended
WordPress Plugins
View all Guides

How to Add Videos and More in WordPress Comments with oEmbed

Last updated on by
Special WordPress Hosting offer for WPBeginner Readers
How to Add Videos and More in WordPress Comments with oEmbed

Recently while browsing the WordPress plugin repository, we stumbled upon a pretty neat plugin that allows you to embed videos and more in WordPress comments by extending the oEmbed support. oEmbed in Comments plugin is created by Evan Solomon, a Growth Engineer at Automattic. For those of you who don’t know what oEmbed is, it allows you to easily embed videos, slides, and other services without dealing with the ugly embed codes. See our article on How to easily Embed videos in WordPress for more details.

Let’s go ahead and install and activate this plugin. Once you have activated it, that’s it. There is no settings page for this plugin.

Go to your comments and paste a Youtube Video URL. It will automatically embed that video. Check out the screenshot below:

oEmbed in Comments Screenshot

One of the biggest issue we noticed with this plugin is that it has no way to resize the videos. You are forced to use the same video width that you have in your post content. This can be an issue because most comment content areas are smaller than post content box. Secondly, if you have threaded comments, then there is an extra indentation that you have to account for. Aside from this, it seems like a pretty useful plugin for video bloggers. Because you can now have youtube style video responses on your own site.

Download oEmbed in Comments


Editorial Staff at WPBeginner is a team of WordPress experts led by Syed Balkhi. Page maintained by Syed Balkhi.

WPBeginner's Video Icon
Our HD-Quality tutorial videos for WordPress Beginners will teach you how to use WordPress to create and manage your own website in about an hour. Get started now »

Comments

  1. Michael says:

    I’m testing adding jpegs to comments. Thanks.

  2. Rick Beckman says:

    If you style your comment areas with a “max-width” equal to its width, it’ll force videos and images included within it to scale to the proper size.

    Of course, accounting for the max-width of nested comments may be a bit trickier.

  3. Marina says:

    Is it possible to upload CAD-files (dwg, cde etc.) or other specific file types using this plugin?

    • WPBeginner Support says:

      No it would only enable support for sites with oEmbed support and whitelisted in WordPress.

  4. Tyler Simpson says:

    Is there anyway to integrate this with the YouTube upload API, so a user can upload their video right on the page?

  5. M.Usama Siddiqui says:

    Thank You very much for this plugin.

Add a Comment

We're glad you have chosen to leave a comment. Please keep in mind that all comments are moderated according to our comment policy, and all links are nofollow. Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.