The new video option inside the shop thumbnail gallery is great but has one problem. The video is in a loop and does not stop playing. So when user navigates away to a different image it is still playing in background which is very annoying if sound is on. How can we ensure video only plays once and does not loop indefinately?
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.