How to Add Videos to Your WordPress Product Image Gallery (Boost Sales!)
A picture might be worth a thousand words, but a video is worth a million.
If you’re running a WooCommerce store, you already know that high-quality product images are non-negotiable. But if you really want to increase conversions, reduce return rates, and stand out from the competition, you need to add product videos to your image gallery.
Unfortunately, standard WordPress and WooCommerce only allow images in the default product gallery. But don’t worry—adding videos is incredibly easy.
In this guide, we’ll walk you through the three best ways to add videos to your WordPress product image gallery, ranging from beginner-friendly plugins to custom code.
Why You Need Video in Your Product Gallery
Before we jump into the how, let’s quickly look at the why:
- Higher Conversions: Studies show that adding a product video can increase conversions by up to 80%.
- Reduced Returns: Videos give customers an accurate expectation of size, scale, and functionality.
- Better SEO: Pages with videos have a higher chance of ranking on Google, and you can even get video thumbnails in search results.
- Builds Trust: Showing a product in action proves it actually works.
Method 1: Use a Dedicated Plugin (Easiest & Best for Most)
If you don’t want to touch a single line of code, using a plugin is the way to go. There are several great options, but for this tutorial, we’ll use the popular and free WooCommerce Product Video Gallery plugin.
Step 1: Install the Plugin
-
- Go to your WordPress Dashboard > Plugins > Add New.
- Search for “WooCommerce Product Video Gallery“
- Click Install Now and then Activate.
Step 2: Configure the Settings
- Navigate to WooCommerce > Settings > Product Video.
- Here, you can choose where the video appears (e.g., replacing the main image, showing in the thumbnail strip, or playing in a popup).
- You can also adjust settings like autoplay, mute, and loop. (Pro tip: We recommend keeping videos muted and not on autoplay to respect user bandwidth and experience).
Step 3: Add Your Video to a Product
- Go to Products > All Products and click Edit on the product you want to update.
- Scroll down to the Product Video Gallery meta box (usually located just below the product image uploader).
- Paste your video URL. The plugin supports YouTube, Vimeo, and self-hosted MP4 links.
- Click Update to save.
That’s it! Your video will now seamlessly play inside your product gallery slider.
Method 2: Use a Page Builder like Elementor (Best for Custom Layouts)
If you are already using a page builder like Elementor to design your single product pages, you can bypass the default WooCommerce gallery entirely and build a custom image/video hybrid.
Step 1: Edit with Elementor
- Go to Products, edit your product, and click Edit with Elementor.
Step 2: Add the Product Images Widget
- Drag and drop the Product Images widget onto your page where you want the gallery to appear.
Step 3: Add a Video Widget
- Because native WooCommerce widgets don’t mix videos easily, you can drag a Video widget right below (or next to) the Product Images widget.
- Paste your YouTube or Vimeo URL into the Video widget.
- Use Elementor’s styling options to match the borders, shadows, and padding of your main product image, creating a seamless look.
Note: If you want the video to actually be inside the image slider using Elementor, you may need a third-party add-on like WooCommerce Builder for Elementor.
Method 3: The Custom Code Method (For Advanced Users)
If you are a developer or prefer not to add another plugin to your site, you can use a custom code snippet. This method allows you to add a YouTube video to the end of your product image thumbnails.
⚠️ Warning: Always back up your site and use a child theme before editing your functions.php file.
Add the following code to your child theme’s functions.php file or a code snippet plugin:
How this works: This code hooks into the thumbnail area. You will need to create a custom image (like a thumbnail of your video with a “Play” button overlay) and upload it to your media library. Paste that image URL into the code above. When a user clicks the thumbnail, it will open the video in a lightbox.
🎬 5 Best Practices for E-Commerce Product Videos
Now that you know how to add the videos, here is how to make sure they actually sell:
- Host on YouTube or Vimeo: Never upload massive MP4 files directly to your WordPress server. It will slow down your site drastically. Let YouTube or Vimeo handle the heavy lifting.
- Keep it Short: 15 to 60 seconds is the sweet spot. Highlight the biggest benefits, show it in use, and stop.
- Don’t Rely on Audio: Many shoppers browse on their phones in public places without headphones. Make sure your video makes sense even if it’s watched on mute (use text overlays!).
- Show Scale: Customers struggle to understand size online. Have a model hold the product, or place it next to a common object (like a coffee mug) so the buyer can gauge the size.
- Match the Thumbnail: If your video thumbnail looks completely different from your product photos, it confuses buyers. Keep the lighting and background consistent.
Conclusion
Adding a video to your WordPress product gallery is no longer a luxury—it’s a necessity for competitive e-commerce stores. Whether you choose the plug-and-play simplicity of a plugin, the design freedom of Elementor, or the lightweight approach of custom code, your customers (and your bottom line) will thank you.
Have you added videos to your product pages yet? Let us know how it impacted your sales in the comments below!
