Troubleshooting Shopify Horizon Split Showcase Videos: When Autoplay Fails
When Your Shopify Horizon Split Showcase Videos Go Silent: A Community Deep Dive
Hey there, fellow store owners! Ever pour your heart into creating a stunning product video, only to find it stubbornly refuses to play on your Shopify store? It’s a frustrating experience, especially when you’re using a dynamic section like the Horizon Split Showcase to highlight your best content. Recently, we saw a great discussion pop up in the Shopify community about just this issue, and I wanted to share the collective wisdom. It’s a classic example of how a problem that seems complex often has multiple, surprisingly simple solutions.
The Case of the Silent Showcase Video
Our community member, user4825, brought up a common head-scratcher: their MOV and MP4 videos were loading fine elsewhere on their site, but in the Horizon Split Showcase section, the video just wouldn't play. The kicker? It worked perfectly on their tablet, but not on their laptop. This immediately pointed to a browser or local machine issue, rather than a fundamental problem with the video files themselves or the Shopify platform. Let's break down the solutions the community rallied around.
First Line of Attack: Your Browser Settings & Extensions
This is often the quickest fix, and it's where Eric from Shopplaza and Tim_1 correctly started. Many modern browsers, especially Chrome, have built-in features to block autoplaying media to improve user experience and save data. Browser extensions can also interfere.
Step 1: Test in Incognito or Guest Mode
Before you dive into settings, try this simple diagnostic:
- Open your Shopify store in an Incognito window (Chrome, Edge, Firefox) or Guest mode (Chrome).
- Check if the video plays in the Horizon Split Showcase.
If it works, you've narrowed it down! The problem is likely an extension or a specific browser setting in your regular profile. You can then disable your extensions one by one to find the culprit.
Step 2: Check Your Browser's Autoplay Settings
If Incognito mode doesn't help, or you suspect a general browser setting, it's time to dig into Chrome's site settings. Eric from Shopplaza provided excellent visual guidance for this:
- In Chrome, click the three dots in the top-right corner to open the menu.
- Go to Settings.
- Navigate to Privacy and security, then click on Site Settings.
- Scroll down and find Additional content settings, then click on Video.
- Ensure that the Default behavior is set to "Allow sites to play videos" or that your site isn't explicitly blocked.
Here are the screenshots Eric shared to guide you:
After adjusting, remember to reset your site or clear your browser cache and cookies, then recheck.
When It's More Than Just Your Browser: Diving into Theme Code
Sometimes, even with browser settings optimized, videos still refuse to autoplay reliably. This is often due to how browsers handle autoplay policies, especially if a video isn't muted. The community discussion highlighted a code-based solution from mastroke (with a helpful correction from tim_1) that can force videos to play.
Disclaimer: Editing theme code requires care. Always back up your theme before making any changes! If you're not comfortable with code, consider reaching out to a Shopify expert.
Modifying background-video.liquid for Autoplay
This approach involves adding a small JavaScript snippet to explicitly tell the browser to play the video once the page content is loaded. Here's how:
- From your Shopify admin, go to Online Store > Themes.
- Find your current theme, click Actions > Edit code.
- In the theme editor, search for the file named
background-video.liquid. This file is often responsible for handling background videos or videos within specific components. - Locate the existing
block. - Replace the entire content of that file with the following updated code. This code includes a JavaScript block that attempts to play any video with the class
.custom-video, catching any errors if the browser blocks it.
{% liquid
assign media_width_desktop = 100 | append: 'vw'
assign media_width_mobile = '100vw'
assign sizes = '(min-width: 750px) ' | append: media_width_desktop | append: ', ' | append: media_width_mobile
assign widths = '240, 352, 832, 1200, 1600, 1920, 2560, 3840'
%}
{{
background_video.preview_image
| image_url: width: 3840
| image_tag: width: 1100, widths: widths, sizes: sizes
}}
The key addition here is the block at the end, which ensures that after the page loads, the video element is explicitly told to play. The .catch(() => {}); part is crucial because it gracefully handles situations where a browser might still block autoplay, preventing errors from breaking other scripts.
A Note on Embedding Videos (and Autoplay Considerations)
Parampreet in the thread also shared a code snippet for embedding videos: {{ section.settings.video | video_tag: controls: false, autoplay: false }} for sections/horizon-split-showcase.liquid. While this is a valid way to embed a video from your section settings, notice the autoplay: false. If your goal is to have the video autoplay, this specific snippet wouldn't achieve that. It's more for when you want a video to be present but require user interaction to play it. For autoplay, you'd typically want autoplay: true and potentially the JavaScript workaround above, especially if you're dealing with browser restrictions.
Not Comfortable with Code? Get Expert Help!
If the thought of editing theme files makes your palms sweat, you're not alone! Both Devcoder and Eric from Shopplaza offered to help directly in the thread by asking for collaborator access. This is a fantastic option if you're new to coding or simply prefer to leave technical tweaks to the pros. Sometimes, a quick look under the hood by an expert can resolve things in minutes.
So, there you have it! When your Horizon Split Showcase videos aren't playing ball, don't despair. Start with the easy browser checks, and if that doesn't do the trick, consider a targeted theme code modification. The beauty of the Shopify community is that there's always someone willing to share their expertise to help you get your store looking its best. Keep testing, keep optimizing, and keep those videos rolling!

