Autoplay youtube videos on product media grid

Shopify Partner
34 0 1

Hi! I'm looking to auto play  youtube videos on product media grid for both mobile and desktop. I want the grid when selected to start autoplaying video without user clicking on it. The muting of audio is no problem for me. 

Currently, when i go over the media, i have to click on it to start playing video. Below is the picture and here's my website. Would appreciate a script that can make the youtube videos auto play. Thanks in advance!

WhatsApp Image 2024-03-16 at 21.17.40_f2808e8d.jpg

Reply 1 (1)

Shopify Partner
151 9 15

Hi @Thehumblelone, I'm seeing that you are using the theme Shrine PRO.
I am not sure if this works with your theme, but someone answered this question for the Ira theme, which you can find it here:

Magenest - One-stop Digital Solution Provider
- Don’t forget to drop a thumbs-up and Mark it as a Solution if you find our response useful
- Elevate your online business with our Shopify experts and professional designers