Autoplayed homepage video

Topic summary

A user encountered an issue where a homepage video wasn’t autoplaying and displayed a play button instead, despite previously working code in their Dawn theme’s video.liquid file.

Troubleshooting Process:

  • The video autoplayed correctly for others, suggesting a local browser issue
  • Clearing cache and browsing history didn’t initially resolve the problem
  • Testing on another laptop confirmed the code was functioning properly

Resolution:

  • Updating the laptop fixed the autoplay issue completely
  • The problem was device-specific rather than code-related

Follow-up:
Another user (MAPDESIGNS) requested instructions for implementing similar autoplay functionality on their own Dawn theme site. The original poster recommended creating a separate thread since they had used multiple code modifications and couldn’t confirm which specific code snippet was responsible for the autoplay feature.

Summarized with AI on November 4. AI used: claude-sonnet-4-5-20250929.

Hello,

I’m having trouble getting a video on my home screen to autoplay without showing the play button: https://www.karpovastudio.com/

I believe I added code to make this work previously, but it seems to have stopped working.

Here it is (video.liquid 118-149):

{%- if section.settings.video_url.type == ‘youtube’ -%}

{%- else -%} {%- endif -%} {%- else -%} {{ section.settings.video | video_tag: image_size: '1100x', autoplay: true, loop: section.settings.enable_video_looping, controls: true, muted: false }} {%- endif -%}

My theme is Dawn.

Thank you!!

Hey, sure! Do you know what can I do to fix this?

I’m having trouble getting a video on my home screen to autoplay without showing the play button: https://www.karpovastudio.com/

I believe I added code to make this work previously, but it seems to have stopped working.

Hi @IraKarpova

I saw the video on the Home page is auto-playing already, could you please share with me how you want to edit it more?

Best,

Daisy

Hi Daisy,

Wow, that’s interesting! Here is screenshot of how it looks for me:

(I still need to press the button to make it play)

Hi @IraKarpova

Yes, the video is auto-playing on my end, as you can see here: Loom link.

It’s possible that your browser has cached data. Could you please try clearing your cache to see if it resolves the issue?

Best regards,
Daisy

1 Like

Hey Daisy,

Thank you for your help! I checked on another laptop, and it’s true—the video does autoplay, so the problem isn’t in the code. I’ve already cleared my cache and browsing history, but the issue still isn’t resolved. :persevering_face:

Hi @IraKarpova

That’s weird, so the problem only happens with 1 laptop :downcast_face_with_sweat: :downcast_face_with_sweat: I am not quite sure either. You can try to check with another browser to see if it works

Daisy,

I updated my laptop and now everything run perfectly! Thank you for the idea and for the help!!

1 Like

Hello!

Can you please provide me with instructions on how I can add the code to my own website with the Dawn theme please?

And is this the code that I should copy?

{%- if section.settings.video_url.type == ‘youtube’ -%}

{%- else -%} {%- endif -%} {%- else -%} {{ section.settings.video | video_tag: image_size: '1100x', autoplay: true, loop: section.settings.enable_video_looping, controls: true, muted: false }} {%- endif -%}

Thank you!

MAP

Hello MAP,

I’m not sure about the code and if it’s the right one (I used so many codes for my website so already mixed up all of them). I would rather recommend you to write your own question so that specialists will help you properly.

Hello IraKarpova,

Thank you for your advice, I’ll do just that!

Best,

MAP

1 Like