A Shopify store owner using the free Spotlight theme wants to remove the video play button from their homepage and enable autoplay with looping.
Two solutions were provided:
CSS Method (Made4uo-Ribe): Add CSS code to hide the play button by targeting .section-video span.deferred-media__poster-button.motion-reduce with display: none in the theme’s CSS file (base.css, style.css, or theme.css).
JavaScript Method (BSS-Commerce): Edit the global.js file and add JavaScript code that automatically triggers a click on the play button when the homepage loads.
Important note: Both solutions mention that while the play button can be removed, the video may not autoplay automatically due to browser autoplay policies. The video will loop as configured in the theme editor settings.
A follow-up question asks how to enable autoplay without requiring user interaction, which remains a challenge due to browser restrictions on autoplaying videos.
Summarized with AI on November 11.
AI used: claude-sonnet-4-5-20250929.
You can remove the button by following the instructions below
From your Shopify admin dashboard, click on “Online Store” and then “Themes”.
Find the theme that you want to edit and click on “Actions” and then “Edit code”.
In the “Assets” folder, click on “base.css, style.css or theme.css” file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:
NOTE: The video will not automatically play but does play loop as you set in the Theme editor. To edit this, you need to hire someone to edit the code for you.
Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!