Help Center

How to Set a Video for the WooCommerce Product in Elementor

Learn how to insert different types of video in product gallery WooCommerce via the JetProductGallery plugin widgets and configure their settings.

Before you start, check the tutorial requirements:

JetProductGallery is a plugin intended to showcase WooCommerce products. The plugin encompasses the Gallery Anchor Navigation, Gallery Grid, Gallery Modern, and Gallery Slider widgets, which can be activated in the WordPress Dashboard > Crocoblock > JetPlugins Settings > JetProductGallery > Widgets tab. 

Read the JetProductGallery Dashboard Overview to find information about the process of enabling and disabling JetProductGallery widgets. In addition, look through the Create Product Video Gallery in WooCommerce: 3 Easy Methods article to learn how to add professional video galleries to your WooCommerce store without code.

First, open your WordPress Dashboard and navigate to the Products tab. Choose a product you need and then click the “Edit” button under the title of the product.

the woocommerce product list

After activating the JetProductGallery plugin, the Jet Product Gallery Video section will be added to the settings page on the right sidebar. Here you can choose Video Type, such as “YouTube,” “Vimeo,” or “Self Hosted.” 

Also, you can choose a Video Poster and add a Video URL.

In this case, we set the “Self Hosted” Video Type to add video in WooCommerce product gallery, upload the image and/or video from the hard drive, select the needed image from the library, set it as a Video Poster (will be used as a WooCommerce product thumbnail video), and choose the Video.

the jet products gallery video section

Also, you can add a YouTube video to WooCommerce product gallery by selecting the corresponding option. In this case, you’ll be asked to insert the required link.

After that, the list of enabled toggles appeared below the Video field, as follows: Show Play/Pause Button:, Show Current Time:, Show Progress Bar:, Show Duration:, Show Volume Control:, and Show Fullscreen Button:. We keep them enabled.

If needed, move to the Jet Woo Builder section and assign the needed JetWooBuilder template. Since we intend to display the video on the JetWooBuilder template via the JetProductGallery widgets, we’ll further use Elementor.

Watch the How to Create a Single Product Page Template in WordPress video to learn how to replace the default product layout with a fully designed template — custom gallery, layout, and widgets. Also, read the How to Create a Shop Page Template tutorial to learn how to configure the shop template and what widgets can be used for this purpose.

the jetwoobuilder template settings

Finally, we save the changes.

Display the Video via JetProductGallery Widgets

Open the single product template or create a new one in the WordPress Dashboard > Crocoblock > Woo Page Builder > Jet Woo Builder Templates tab.

the jetwoobuilder template list

For more details on how to create a single product template in JetWooBuilder, add and configure widgets: title, gallery, add-to-cart, assign the single product template to all WooCommerce products, replace the default WooCommerce gallery with JetProductGallery, and add a video to the product gallery with JetProductGallery can be found in the JetWooBuilder Single Product – For Absolute Beginners! and How to Create a Single Product Page Template in WordPress videos.

Then, insert the widgets into it to display the product’s data.

After that, add a product video with JetProductGallery widget: apply any Crocoblock WooCommerce product video solution (the Gallery Anchor Navigation, Gallery Grid, Gallery Modern, or Gallery Slider widgets) available with the JetProductGallery; since they all support both video and image formats, but widgets differ in the mutual sizes and positions of images in the gallery.

Here, we consider adding video via the Gallery Slider widget.

Adjust the widget’s settings

To showcase the product’s video, insert this widget into the template.

inserting the gallery slider widget

Once added, the Content > General section will be unrolled.

Here, set the “WooCommerce Products “ Source and input the Product ID of the product to which you have added the video. Then, you’ll see product images and videos added.

Things to know

If you build a single page and leave the Product id field empty, the Gallery Slider widget will pull the current product’s ID.

setting the source for the gallery slider widget

After you specify the Product id, you can Disable Featured Image and/or Enable Zoom and gallery options by activating the corresponding toggles, if needed.

Things to know

The Enable Gallery toggle activates the lightbox feature to open a lightbox with the image by clicking.

After that, unroll the Image section and set the needed Image Size and Thumbnail Size

The next tab is the Slider tab. Here, you can set the horizontal or vertical image slider in the Direction field. Also, adjust other settings if needed. For instance, you can activate the infinite loop, set equal slides, and change their sensitivity and transition effect.

In this tab, you can customize the navigation and pagination settings. The Show Navigation toggle is activated by default. If enabled, it allows selecting the icons for the “Previous and “Next arrows by clicking on the corresponding buttons. If you activate the Enable toggle in the Pagination section and set the Pagination Type to “Thumbnails”, the gallery images will be shown below the main image.

Navigate to the Video section. Here you can manage the following settings:

the gallery slider settings
  • Display Video In — a drop-down list to set the way the video will be displayed; the “Content” option allows displaying the video to the right of the images, and the “Popup” option allows placing the video in a pop-up;
  • Aspect Ratio — a drop-down list to select the needed video aspect ratio;
  • Display Video at First Place — a toggle that is shown if the “Content” Display Video In option set, and if enabled, puts the video first, before other images;
  • Video Priority — a drop-down list that is shown if the “Content” Display Video In option set, and allows specifying the featured image position;
  • Autoplay — a toggle allowing the video to be played right after proceeding to it;
  • Mute — a toggle allowing the video to be muted;
  • Loop — a toggle allowing users to loop the video so that it plays again when it ends;
  • Overlay Color — a field to set an overlay color in case you display the video in the popup;
  • Play Button — a set of fields to Show the corresponding button on the video, selecting its Type, and Icon that will be displayed below the slider.

Once completed, save the changes by pressing the “Publish” button, and move to the front end to observe how it works.

the gallery slider on the front end

FAQ

What video formats are supported in JetProductGallery?

WooCommerce itself does not natively support product videos. In turn, the plugin supports all widespread and commonly used formats (e.g., MP4, WebM) and embedded videos from platforms such as YouTube and Vimeo.

Is it necessary to add the video to the WooCommerce product page?

It is not necessary, but it essentially contributes to UI and makes the product more attractive by showcasing features, functionality, size, and usage. Anyway, you can combine images and videos in a WooCommerce product gallery, as well as add either videos or images.

Can I add some WooCommerce product gallery videos?

No, currently this functionality is unavailable.

Does the Crocoblock WooCommerce product video solution affect my website’s loading speed?

The plugin is a light-weight one, but large video files can impact page performance since they are hosted directly on your website. To avoid it, insert links on external platforms such as YouTube or Vimeo. We recommend this as the best way to show product videos in WooCommerce gallery.

Is the WooCommerce product video gallery mobile-friendly?

The plugin is designed to be responsive, ensuring that videos display correctly on desktops, tablets, and mobile devices.

That’s it. Now you know how to insert different types of video in product gallery WooCommerce via the JetProductGallery plugin for WordPress, insert widgets, and configure their settings.

Was this article helpful?
YesNo

Need help?

Ask Facebook community

Get answers from 30K+ Crocoblock Community experts from all over the world.

Start a live chat

Ask question to support agent and share its details via chat messages.