It’s very easy to add a YouTube video to your product gallery images using the WooGallery plugin. Follow the steps below:
1) From the Edit Product page scroll down to the Product Gallery area.

2) If you want to add the YouTube video to the Featured Image, click on the featured image. If you want to add the video to a gallery image, click on Add product gallery images. This will open the Media Library, where you can select the gallery image.

3) Once you select an image, a popup (Attachment Details) will appear where you will see a box named Video Link at the bottom.

4) Insert the YouTube video link there, and the video will be set with that image.
Note: The YouTube video URL should be copied from the browser address bar only.

5) Go to the single product page to see the changes.