How to autoplay a video on Dawn theme homepage?

Hi, is there someone who knows how to Autoplay a video on the homepage on Dawn theme? I tried to mute it, to play a bit with the script (json) but nothing works.

Hello @caze1

Please share the store link so we can help.

https://vyul8joyqas1b7z7-67682697481.shopifypreview.com/

Hello @caze1

Once you Log in to the Admin, then process the following steps:

Step 1: Go to Dashboard ->Online Store ->Theme-> Action->Edit code->

Step 2: Search the file video.liquid

Step 3: replace the below HTML code with current code of the file → Save

<iframe src="https://www.youtube.com/embed/{{ section.settings.video_url.id }}?autoplay=1&enablejsapi=1" class="js-youtube" allow="autoplay; encrypted-media" allowfullscreen="" title="{{ section.settings.description | escape }}"></iframe>

If you find our reply helpful, please hit Like and Mark it as a Solution.

An award-winning North American Shopify Development Agency That Delivers Powerful Results, Innovation, and Secure Digital Transformation.

Hi,

It has not resolved the problem

Hello @caze1

Can you share the store link again? Because the above-shared link expired?

Hi,

Voila!

https://922ptto3isg4dfpm-67682697481.shopifypreview.com/

We are unable to help you because we don’t have your store URL.