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!