A user seeks to make product videos autoplay and hide controls on their Shopify store using the Showcase theme. They’re working on a product page feature section with video blocks.
Initial Solutions Proposed:
Adding JavaScript code before the </body> tag in theme.liquid
Adding autoplay attribute directly to video tags in the editor
Issue: The first solution didn’t produce any changes when implemented.
Refined Solution:
A contributor provided updated HTML markup for the video element including:
autoplay attribute for automatic playback
muted attribute (required for autoplay in most browsers)
loop attribute for continuous playback
Removal/absence of controls attribute to hide video controls
Implementation Steps:
Locate the video tag in product-template.liquid or relevant template file
Add the specified attributes to the video element
Clear browser cache and test
Status: The discussion remains open with alternative JavaScript solutions suggested if the HTML approach doesn’t work. The user may need developer assistance if issues persist.
Summarized with AI on November 3.
AI used: claude-sonnet-4-5-20250929.
I am wanting to make my product video autoplay and also hide/disable the video controls. I am using the Showcase theme. Please see link to page I am referring to.
I am also creating a feature section on this product page (in progress) and I am adding video blocks which I will also need to hide the video controls. (these already autoplay)
To make your video autoplay and hide the controls using the provided code, you can update it as follows:
Changes Made:
autoplay Attribute
Added autoplay to make the video start automatically.
muted Attribute:
Added muted to ensure the video plays without sound (this is required for autoplay in most browsers).
Removed controls Attribute:
-Since there is no controls attribute in your original code, no need to explicitly remove it. The absence of this attribute ensures the controls are hidden. 4. loop Attribute:
-Ensures the video repeats continuously.
After updating the code:
Save the changes in your theme file.
Open your browser, clear the cache, and test the product page to ensure the video autoplay works without controls.
Confirm that the video loops continuously and starts muted.
If any issues persist, let me know!
If I was able to help you, please don’t forget to Like and mark it as the Solution!
If you’re looking for expert help with customization or coding, I’d be delighted to support you. Please don’t hesitate to reach out via the email in my signature below—I’m here to help bring your vision to life!