How to get video on home page to auto-play in Dawn 3.0?

Hey,

I want to have my video on my home page autoplay but I can’t figure out where the code needs to go! Could anyone help me on how to get the video to autoplay? I also attached a picture on what I’m trying to explain with the video auto playing.

Website : https://popsstudioz.com/

Thanks,

Alessandro

@bendini

  1. From the Shopify admin > Open Settings and then open the Files tab

  2. Click the green “Upload files” button

  3. Upload your video in .mp4 format

  4. Copy the link that was generated for your uploaded file.

Then

  1. Open the "Theme editor" and “Add new section

  2. Locate the "Custom liquid" section

  3. Copy & paste the following code:


  1. Replace the URL inside the src=" " with the URL of the video you’ve just uploaded.

  2. Save.

let me know if this works for you. If yes: accept my answer and give me a thumbs up! Thank you.