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 builds a sense of community.
In this article, we will show you how to add videos, images, and more in WordPress comments with oEmbed.
Why Add Videos and Other Content in WordPress Comments?
Allowing visitors to attach files in comments can improve the user experience in lots of different ways. For example, visitors can share more information about the issue they are having by recording a video or sharing screenshots.
This can help your support team and other visitors understand the problem and suggest the best solution.
It also gives commenters the flexibility to upload different types of content, such as their own photos or a link to their favorite YouTube video. This can boost engagement on your WordPress website, improve the visitor experience, and keep people on your website for longer.
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 let you embed videos from YouTube, Facebook, and other social platforms.
The good news is that you can allow visitors to upload content in WordPress comments by using DCO Comment Attachment. This plugin supports images, videos, documents, and audio files. It also automatically embeds links from Facebook, Twitter, and other social platforms.
First, you will need to install and activate the DCO Comment Attachment plugin on your website. If you need help, then please see our guide on how to install a WordPress plugin.
Upon activation, head over to Settings » DCO Comment Attachment in your WordPress admin panel to customize the plugin’s settings.
Huge files can increase page loading times and affect your site’s performance. To boost WordPress speed and performance, it’s a good idea to limit the upload size by typing it into the ‘Maximum upload file size’ field.
You can also make the attachment mandatory, automatically embed attachments, and choose from different thumbnail options.
After that, you can allow visitors to upload multiple files and support different file types for images, audio, video, documents, and spreadsheets. Simply check the box next to each file type that you want to allow.
If you scroll down, you will find more settings. For example, if you run a WordPress membership site, then you may only want to allow logged-in users to upload attachments in the comments.
You may also want to manually moderate all comments that have attachments. This can prevent spammers and bots from uploading files to your WordPress website.
To moderate comments in this way, simply check the box next to ‘Manually moderate comments with attachments.’
Most of these settings are self-explanatory, so it’s worth taking the time to go through them. When you’re happy with how the plugin is set up, you can go ahead and click the ‘Save Changes’ button.
Now, you can visit any WordPress blog post, and you will see the options to add videos and attachments in the comments section.
Users can also easily embed videos from other platforms like YouTube.
They simply need to paste the URL into their comment, and the WordPress plugin will handle the rest.
We hope this article helped you learn how to add videos and more in WordPress comments with oEmbed. You can also read our guide on how to allow user registration on your WordPress site and see our expert picks for the best contact form plugins.