Do you want to add videos, images, files, and other content to your WordPress comments?
Allowing users to upload files, add YouTube links, embed a Tweet, or share images in the comment section helps increase engagement and helps build a community.
In this article, we’ll show you how to add videos and more in WordPress comments with oEmbed.
Why Add Videos and Other Content in WordPress Comments?
Letting your visitors attach files in comments can be beneficial in certain situations. For instance, people can share more information about the issue they’re facing by recording a video or sharing screenshots.
This makes it easier for your support team and other people in the comment thread to understand the problem a user is facing and provide the best solution.
Besides that, adding videos and other content in the comment section helps create more engagement on your WordPress site. It offers commenters the flexibility to upload different types of content and help build a community.
That being said, let’s find out how you can add videos, images, and other content in WordPress comments with oEmbed.
Add Videos and More in WordPress Comments
WordPress doesn’t allow users to upload videos, images, PDFs, and other files in the comments by default. It also doesn’t embed videos from YouTube and other social platforms in the comment section.
However, a WordPress plugin makes it super easy to upload content in WordPress comments using oEmbed. oEmbed lets you to easily embed videos, slides, and other services without dealing with the ugly embed codes.
For this tutorial, we’ll be using the DCO Comment Attachment plugin. It’s a free plugin that lets users attach images, videos, documents, audio, and other files in the comment section.
The best part about DCO Comment Attachment is that it automatically embeds links from Facebook, Twitter, Facebook, and other social media platforms.
First, you’ll need to install and activate the DCO Comment Attachment plugin on your website. If you need help, then please refer to our step-by-step guide on how to install a WordPress plugin.
Once the plugin is active, you can head over to Settings » DCO Comment Attachment from your WordPress admin panel and customize the settings.
You can set a maximum upload file size in the plugin settings, enable the option to make the attachment required, and automatically embed attachments.
Besides that, there are also options to change the size of images that can be uploaded and choose from different thumbnail options.
You can also allow your visitors to upload multiple files and choose different file types for images, audio, video, documents, and spreadsheets that people can attach in the comments.
If you scroll down, there are more settings that you can change in the DCO Comment Attachment plugin. For instance, you can only allow logged-in users to upload attachments in the comments.
When you’re done with the settings, you can go ahead and click the ‘Save Changes’ button.
Next, you can visit any WordPress blog post or landing page on your website to see the options to add videos and attachments in the comments section.
Now, whenever a user adds a video link from YouTube or any other platform in the comments, it will automatically embed them in the comments.
We hope this article helped you learn how to add videos and more in WordPress comments with oEmbed. You can also look at our guide on how to subscribe to WordPress comments and the best WooCommerce plugins for your store.