Last Updated on Nov 22, 2026 by Nurul Afsar
A product photo shows what an item looks like. A short video shows how it moves, how it fits, how it opens and what it feels like in use. That is why many merchants want to add video to the WooCommerce product gallery, so shoppers can see those details without leaving the product page.
The good news is that you now have three realistic routes. WooCommerce 11.1 added an experimental native gallery video feature. Third-party plugins offer more flexibility, including YouTube and Vimeo support in many cases. And developers can build a custom solution with hooks and template changes. This guide explains each one, when to choose it, and how to fix the problems that tend to appear.
If you would rather have someone implement or troubleshoot a custom product gallery for you, our WooCommerce development services team can help.
Can You Add Videos to a WooCommerce Product Gallery?
Yes, but how you do it depends on your WooCommerce version, your theme and what kind of video you want to show. Out of the box, WooCommerce galleries were image-only for years. That changed in WooCommerce 11.1, released in September 2026, which introduced experimental support for videos in the product gallery.
Before you rely on it, here is what the native feature does and does not do, based on WooCommerce’s own documentation:
- Experimental and off by default. You must switch it on in the WooCommerce settings, and its behavior may change in future releases.
- Uploaded files only. Videos come from your WordPress Media Library. YouTube and Vimeo embeds are not supported at this stage.
- Gallery only, not the main image. A video cannot replace the main Product Image. The main image stays an image.
- Known gaps in 11.1. Videos are not included in variation galleries, product CSV import and export, or the REST API.
- Theme dependent. If your theme replaces WooCommerce’s gallery templates with its own, videos may not appear until the theme adds support.
- Autoplay behavior. Gallery videos play automatically, muted and on a loop, with no playback controls.
Because this is an experimental feature, check the current WooCommerce documentation before you build a workflow around it.
The three methods compare like this:
- Native feature: free, simple, limited to uploaded video files.
- Plugin: more features, but support varies by plugin, and some features require a paid license.
- Custom development: the most control, but it needs a developer and ongoing maintenance.

Method 1: Add Videos Using WooCommerce’s Native Gallery Feature
This is the simplest option if you run WooCommerce 11.1 or later and your videos are short clips you can upload yourself.
Step-by-step setup
- Confirm your version. In the WordPress dashboard, open Plugins > Installed Plugins and check that WooCommerce is 11.1 or newer. Update first if it is not, ideally on a staging site.
- Open the feature settings. Go to WooCommerce > Settings > Advanced > Features and scroll to Experimental features.
- Enable the feature. Tick Product gallery videos.
- Save. Select Save changes.
- Upload the video. Go to Media > Add New and upload your file. MP4 using H.264 plays in the widest range of browsers. Your host’s upload size limit applies.
- Edit the product. Open Products > All Products and choose the product, or add a new one.
- Add the video. In the Product gallery box, the link now reads Add media to product gallery. Select it, choose the video (and any extra images) in the Media Library, then select Add to gallery.
- Arrange the gallery. Drag the video preview to the position you want among the images. To remove it, hover over it and select the red X. The file stays in your Media Library.
- Save and test. Select Update or Publish, then open the product page and click the video thumbnail.
Set a poster image
WooCommerce uses the video’s featured image as its gallery thumbnail and shows it until the video is ready to play. To set one, go to Media > Library, open the video, select Edit more details, and set a Featured image. Add alt text to that image so screen readers can describe the video. If you skip this step, WooCommerce shows a preview generated from the video.
What shoppers see
The video thumbnail appears in gallery order with a play icon. When selected, the video plays automatically, muted and looping, and pauses when the shopper moves to another item. Videos also open in the full-screen gallery. Because there are no controls and no sound, keep clips short and self-explanatory, and do not put essential spoken information in them.
The native feature works with the classic gallery, the Product Image Gallery block and the Product Gallery block, but on block themes it is worth moving to the newer Product Gallery block, which WooCommerce recommends for templates that use the Add to Cart + Options block.
Method 2: Add Product Videos Using a WooCommerce Plugin
A plugin makes sense when the native feature is too limited. Typical reasons include wanting YouTube or Vimeo embeds, more than one video per product, or a video attached to a specific variation.
What plugins may offer
Features differ widely between plugins, so check each listing rather than assuming. Depending on the plugin, you may find:
- YouTube and Vimeo embeds
- Multiple videos per product
- Custom video thumbnails
- Custom gallery sliders
- Autoplay, mute and loop settings
- Video lightboxes
- Videos for individual product variations
- Replacing the featured image with a video
Many of these are not universal. Free versions often have limits, such as a cap on the number of products or videos, or no YouTube support, with the fuller feature set sitting behind a premium license. Any premium license is an extra cost, and some are annual subscriptions.
How to choose and configure one
- List your requirements. Decide whether you need self-hosted files, YouTube or Vimeo, variation videos or a video as the first gallery item.
- Check compatibility. Confirm the plugin supports your WooCommerce version, your theme and, if you use it, the Product Gallery block.
- Read the free and premium details. Look for limits on products, videos or embed sources before you install.
- Review maintenance signals. Look at when it was last updated, how support requests are answered and what the changelog says.
- Test on staging. Install it on a staging copy first, add a video to one product and check desktop, mobile and the full-screen gallery.
- Configure sensibly. Set autoplay to muted, choose a poster image, and keep the number of videos per product reasonable.
As a rule, install one gallery-related plugin at a time. Two plugins that both rewrite the gallery are a common source of broken layouts.
Method 3: Add WooCommerce Product Videos Without a Plugin
Some stores need behavior that neither the native feature nor an off-the-shelf plugin provides. In that case a developer can build it, and this is where hooks and template overrides come in. This method suits developers and teams with a technical partner, not casual DIY edits on a live store.
Hook-based embed versus a real gallery item
A WooCommerce hook embed video approach outputs a video at a chosen point in the product page, such as below the summary or above the tabs. It is quick to build and easy to maintain, but the video is not part of the gallery. It will not appear as a thumbnail, will not sit in the slider and will not open in the gallery lightbox.
Adding a real gallery item means changing how the gallery is built, either by filtering gallery markup or overriding the gallery template in a child theme. That gives a better shopper experience, but it takes more work and is more sensitive to WooCommerce and theme updates.
Example: a hook-based video embed
The snippet below is an illustrative starting point, not a finished solution. It reads a product meta value containing a video URL and displays the oEmbed for it between the product summary and the tabs. It assumes you have a way to save that meta value, such as a custom field. Test it on staging with your own theme before using it.
add_action( 'woocommerce_after_single_product_summary', 'numinix_render_product_video', 5 );
function numinix_render_product_video() {
global $product;
if ( ! $product instanceof WC_Product ) {
return;
}
$video_url = $product->get_meta( '_numinix_product_video_url' );
if ( empty( $video_url ) ) {
return;
}
$embed = wp_oembed_get( esc_url_raw( $video_url ), array( 'width' => 800 ) );
if ( ! $embed ) {
return;
}
echo '<div class="product-video">' . $embed . '</div>';
} The woocommerce_after_single_product_summary hook is a standard WooCommerce action. The wp_oembed_get function only returns markup for providers WordPress allows, which includes YouTube and Vimeo. Notice the guard clauses and the sanitized URL: custom code on a product page should never output unchecked input.
Safe development practices
- Use a child theme or a small custom plugin. Never edit the parent theme or WooCommerce core files, because updates overwrite them.
- Work on staging. Test the change with caching, mobile devices and your page builder active.
- Take a backup. Back up files and the database before deploying.
- Plan for updates. Hooks and templates can change between WooCommerce versions. Since the native video feature is still evolving, retest after each major update.
If you would like this built and maintained for you, our custom WooCommerce development team can scope it as a project.
Native WooCommerce Videos vs Plugins vs Custom Development
This table gives a general comparison. Support varies by plugin, theme and WooCommerce version, so always verify against your own setup.
| Factor | Native feature (11.1+) | Plugin | Custom development |
|---|---|---|---|
| Setup difficulty | Low | Low to medium | High |
| Self-hosted video | Yes, Media Library files | Varies by plugin | Yes, if built |
| YouTube or Vimeo | No, not at this stage | Varies, sometimes premium only | Yes, if built |
| Product variation videos | No, not in 11.1 | Varies, sometimes premium only | Possible with development |
| Customization flexibility | Limited | Moderate | High |
| Theme compatibility | Needs theme support for the gallery | Varies, test before buying | Built around your theme |
| Potential extra costs | None beyond hosting | Possible license fees | Development time |
| Maintenance | Experimental, may change | Updates and license renewals | Retesting after updates |
In short, start with the native feature if your needs are simple, choose a plugin when you need embeds or extra features, and consider custom work when you need specific behavior or a tight fit with your theme.
How to Optimize WooCommerce Product Videos for Performance and SEO
Video can slow a product page if it is handled carelessly. These practices help keep pages light and accessible. None of them guarantees better rankings, visibility or conversions.
- Encoding. Export as MP4 using H.264, which WooCommerce’s documentation notes plays in the widest range of browsers.
- File size. Compress the video and keep clips short. Remember that your host’s upload limit applies to the Media Library.
- Poster images. Set a clear poster image so the thumbnail looks good and the page does not depend on the browser generating a frame.
- Mobile. Test on real phones. Check that the video thumbnail is tappable, the layout holds and the clip is not too heavy on mobile data.
- Lazy loading. Avoid loading heavy video files before they are needed. Embeds from other services can often be loaded on interaction, and some plugins offer this option.
- Hosting and bandwidth. Self-hosted files use your own bandwidth. High-traffic stores may prefer a video platform or a CDN, which usually points toward a plugin or custom solution because the native feature supports uploaded files only.
- Accessibility. Give the poster image alt text, avoid relying on audio alone for key information, and consider adding the same information in the product description.
- Titles and surrounding content. Use a descriptive video title and write helpful text around the video so search engines and shoppers understand it.
- Structured data. Video structured data can help where it is eligible, but not every product page video qualifies. Check Google’s current video guidelines and the video indexing report in Search Console before adding markup.
Page speed deserves its own attention. Our guides on INP optimization for WooCommerce and the Speculation Rules API for ecommerce cover responsiveness and loading in more depth, and our WooCommerce speed optimization service is available if product pages are already slow.
Common WooCommerce Product Video Gallery Problems and Fixes
Start by identifying which method you are using, because the fixes differ.
Native gallery videos (WooCommerce 11.1+)
- Video not appearing in the gallery. Confirm Product gallery videos is enabled under WooCommerce > Settings > Advanced > Features, that the item is an uploaded file and not an embed, and that you saved the product with Update.
- Video thumbnail missing. Set a Featured image on the video in the Media Library. Without one, WooCommerce uses a generated preview, which may look different from what you expect.
- YouTube video not displaying. The native feature does not support YouTube or Vimeo. Use a plugin or a custom embed instead.
- Video disappears after turning the feature off. Turning the feature off hides videos but does not delete them. Turn it back on and they return to their positions.
- Video missing for variations, imports or API. These are known limitations in 11.1, so they are not bugs in your store.
- No sound or controls. This is by design: gallery videos play muted, looping and without controls.
Plugin-based videos
- Theme or page builder conflicts. Switch temporarily to a default theme on staging. If the problem disappears, contact the theme or plugin developer. Some page builders replace the product gallery, so check the plugin’s builder compatibility.
- Layout breaking. Look for two plugins or a theme modifying the gallery at the same time. Disable one, clear caches and retest.
- Free versus premium features. If an option is missing, check whether it belongs to a paid version.
Custom or hook-based solutions
- Nothing displays. Check that the hook fires on your template, that the meta value exists and that a block theme template is not bypassing the classic hooks.
- Videos disappear after an update. A template override or hook may have changed. Compare your override with the current WooCommerce template and retest on staging.
Problems that apply to every method
- Videos not playing on mobile. Check the encoding (MP4 with H.264), the file size and the connection. Browsers restrict autoplay with sound, which is why muted autoplay is the usual approach.
- Autoplay limitations. Browsers generally allow autoplay only when the video is muted. Do not rely on sound autoplaying.
- Product pages loading slowly. Compress the video, shorten it, set a poster image, avoid multiple large videos on one page and review hosting and caching.
- Caching. After changes, purge your page cache and CDN, because cached product pages can hide new videos.
Frequently Asked Questions
Can I add videos to a WooCommerce product gallery without a plugin?
Yes. On WooCommerce 11.1 or later you can enable the experimental Product gallery videos feature and add uploaded videos to the gallery. On older versions, you would need custom code or a plugin.
How do I add a YouTube video to a WooCommerce product gallery?
The native feature does not support YouTube. You can use a plugin that supports YouTube embeds (check whether that feature is free or premium) or have a developer build an embed, as in the hook example above.
Does WooCommerce support product videos by default?
Not by default. From version 11.1 there is experimental support, but it is turned off until you enable it in the Features settings.
Can I replace a WooCommerce product image with a video?
Not with the native feature. The main Product Image must remain an image. Some plugins may offer a video as the first gallery item, but this varies, so check the plugin details.
Why is my WooCommerce product gallery video not showing?
The most common causes are the feature not being enabled, the video being an embed instead of an uploaded file, a theme that overrides the gallery templates, or a cached page. See the troubleshooting section above.
Can I add different videos for product variations?
Not with the native feature in WooCommerce 11.1. WooCommerce 11.1 does include native image galleries for variations, but videos are not part of variation galleries. Some plugins support variation videos, though this varies.
Do WooCommerce product videos affect website speed?
They can, depending on file size, hosting and how the video loads. Compressed, short clips with poster images are lighter. Test your product pages after adding video.
Need Help Customizing Your WooCommerce Product Gallery?
Adding a video is easy on a simple store. It gets harder when your theme overrides the gallery, you need YouTube or variation videos, or product pages are already slow. Numinix can help with custom WooCommerce development, product gallery functionality, theme compatibility and technical optimization.
If you want to discuss your requirements, contact our expert WooCommerce developers for a free consultation and a custom project quote. Please note that premium extensions, third-party licenses and custom development may involve additional charges, and the scope of any work is agreed in the project quote.