Hello,
The below code will help you to stop the video after changing the product thumbnail, please add it to the “On document ready” area in Theme Settings -> Custom JS.
(function($) {
$('.woocommerce-product-gallery__wrapper:not(.quick-view-gallery)').on('changed.owl.carousel', function(e) {
$('.woocommerce-product-gallery__wrapper:not(.quick-view-gallery)').find('.product-image-wrap.wd-video-playing .wd-play-video').trigger('click');
});
})(jQuery);
Kind Regards