To continue receiving payouts, you need to secure your account by turning on two-step authentication. If two-step authentication is not turned on your payouts will be paused. Learn more

Autoplay Homepage Video Dawn Theme

caze1
New Member
2 0 0

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.

Replies 3 (3)
WebDeskSolution
Shopify Partner
110 31 24

Hello @caze1 

 

Please share the store link so we can help.

Thank You,


WebDesk Solution Support Team
Get a Free Quote | Email | Shopify Partner | Hire Us | Call Us 877.536.3789


Location: 150 King St. W. Toronto, ON M5H 1J9

WebDeskSolution
Shopify Partner
110 31 24

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>

 

WebDeskSolution_0-1674738958028.png

 

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.

Thank You,


WebDesk Solution Support Team
Get a Free Quote | Email | Shopify Partner | Hire Us | Call Us 877.536.3789


Location: 150 King St. W. Toronto, ON M5H 1J9