Main issue: Embed and autoplay an MP4 video on the Shopify Craft theme homepage without using YouTube/Vimeo.
Solution provided and confirmed working:
Upload the MP4 to Shopify Files (Settings > Files).
In the theme editor, add a “Custom Liquid” section on the homepage.
Paste a custom code snippet in that section and replace the demo URL with the uploaded file URL. (Images illustrating the steps were shared; the exact code snippet is central but not included in this excerpt.)
Outcome: The original request was resolved; the video embeds and autoplays successfully.
New follow-up questions (unresolved):
How to scale down the video and center it on desktop to avoid edge-to-edge display.
How to hide video controls (play button, fullscreen, play bar).
Status: Core embedding/autoplay solution is done. Discussion remains open for styling (centering/sizing) and control visibility. Explanation notes: “Custom Liquid” is a section that allows adding custom HTML/Liquid code; “Shopify Files” is the store’s file library for hosting assets.
Hello, I’ve found this quite helpful as well, but I’m trying to also scale down my video because having it go all the way to the edges looks horrible on a pc, but doing that left justifies the video. Is there a way to center it?