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
-
From the Shopify admin > Open Settings and then open the Files tab
-
Click the green “Upload files” button
-
Upload your video in .mp4 format
-
Copy the link that was generated for your uploaded file.
Then
-
Open the "Theme editor" and “Add new section”
-
Locate the "Custom liquid" section
-
Copy & paste the following code:
-
Replace the URL inside the src=" " with the URL of the video you’ve just uploaded.
-
Save.
let me know if this works for you. If yes: accept my answer and give me a thumbs up! Thank you.