I have been wanting to add video to my single product page gallery. I don’t know PHP so wasn’t able to do it myself, tried using chatgpt but to no avail.
https://dmmotionarts.com/product/diwali-festival-landing-page-elementor-template-free/
I tried adding ACF fields to images, with a oembed for images where I can add youtube videos. Is there a way to incorporate videos to product gallery?
I have tried using shoplentor plugin, in which it adds extra fields to images where we can add Youtube URL and then it replaces that image with youtube video. That way it allows to use video on any image in the gallery.
I have been trying to replicate it as it is lot more flexible and allows adding multiple videos at different locations in the gallery.
1. Use a Plugin
There are several plugins that allow you to embed video (YouTube, Vimeo, or self-hosted) into the product gallery:
✅ Popular Plugins:
Product Video for WooCommerce – by Addify
Add videos to product image gallery
Supports YouTube, Vimeo, MP4
Free & Pro versions available
YITH WooCommerce Featured Audio & Video Content
Allows adding a featured video instead of a featured image
Link
WooThumbs by IconicWP (Premium)
Adds video support in product galleries
Offers advanced gallery, zoom, sliders, etc.