How to add a background video to your homepage
Add a background video to the large banner (hero section) on your homepage with the page designer. Upload or reuse a video from the Video Archive and choose a poster image.
A background video at the top of your homepage makes a lively and professional first impression. In the Montana, MontanaB2B, and Washington themes, you can add a video behind your large banner (the hero section) directly in the page designer, without writing any code. Delaware and DelawareDK have a similar section with video and categories. The videos are stored in the Video Archive, so you can reuse them. The video plays automatically, muted, and on a loop on both computers and mobile devices.
How to add a background video
- Open the Page designer and edit the large banner section (hero) on your homepage.
- Find the Background video field.
- Click Select from the video archive to choose a video you have already uploaded, or Upload video to choose a file from your computer. You can also drag the video file directly onto the field.
- Choose an image in the same section. It is used as the poster, which is the still image shown while the video loads.
- Click Save and keep editing (or press Cmd+S / Ctrl+S).

Upload or reuse a video
You have two options in the field:
- Select from the video archive: Opens the "Select a video from the archive" window with the videos you have uploaded. Choose a folder or search, click the video, and click Select video.
- Upload video: Choose an MP4 or WebM file from your computer, up to 30 MB. The video is added to the Video Archive and selected right away. The same happens if you drag the file onto the field.
When a video is selected, you see a small preview with a Remove video button. If you remove the video, the image is shown as the background instead, exactly as before, and the video stays in the Video Archive.
The poster image
The Image field in the hero section is used as the poster. It is the still image the customer sees while the video loads or if the connection is slow. Always choose a good image that matches the video, so the banner is never empty.
Recommendations for your video
- Format: MP4 (H.264) has the widest support. WebM also works.
- Length: A short loop of 5 to 15 seconds works best.
- Size: Ideally under 5 MB, so the homepage loads quickly, especially on mobile.
- Sound: Doesn't matter. The video is always played muted.
The video is stored in full quality without being compressed by the system. Compress your video yourself before uploading, so the file isn't unnecessarily large. Above 5 MB, you get a friendly warning, and videos over 30 MB can't be uploaded.
What the customer sees
The video starts on its own, runs on a loop, and plays muted without a play button. It works on all screen sizes, including mobile and iPhone, and the browser caches the video, so it isn't downloaded again every time the customer opens the homepage. Your heading, body text, and buttons sit on top of the video, just as they do on top of a background image. You can still choose a light or dark overlay, so the text is easy to read no matter what happens in the video behind it.
Frequently asked questions
Where do I find the background video field?
Open the page designer and edit the large banner (hero) section on your homepage. There is a field called Background video. Select from the video archive uses a video you have already uploaded, while Upload video takes a file from your computer.
Do I have to start the video, or does it start on its own?
It starts on its own as soon as the customer opens the homepage. There is no play button, and it runs on a loop. It plays muted on both computers and mobile devices, so you don't need to do anything.
How large and how long can the video be?
We recommend a short loop of 5 to 15 seconds, ideally under 5 MB. Use the MP4 format. The video is stored without scaling, so compress it before uploading to keep the homepage loading quickly.
Which format and codec give the best compatibility?
Use H.264 in an MP4 container. It plays widely in all modern browsers and on mobile. WebM is also supported, but MP4 is the safe choice.
Does the video autoplay on mobile?
Yes. The video plays muted, automatically, and on a loop on all devices, including mobile. Precisely because it is muted and plays inline on the page, mobile browsers allow autoplay without the customer having to tap play.
Does the video affect the readability of my text and buttons?
No. The heading, body text, and buttons sit on top of the video, just like on top of a background image. Choose a light or dark overlay, so the text and your buttons stand out clearly no matter what happens in the video.
What happens if I upload the wrong file or want to remove the video?
If you upload the wrong file type, such as a PDF or an image, it is rejected with a message to use MP4 or WebM. If you want to remove the video again, click Remove video, and the image is shown as the background instead.
Can I reuse the same video in several places?
Yes, within the same store. An uploaded video is stored in the store's Video Archive and can be selected again with Select from the video archive without uploading it again. The archive also shows how many places each video is used. Each store has its own archive, so in another store, the video must be uploaded again.
Related articles
Page designer: drag-and-drop page builder for your store
Learn how to use the Page designer in Shoporama to build page layouts with blocks such as hero sections, product lists, banners, and much more,...
Set up your store's front page (homepage)
Learn how to set up the front page of your Shoporama store. The front page is a category that you can customize with the Page designer in supported...
Optimize images for mobile with responsive images
A guide to using responsive images with srcset in your Shoporama theme, so mobile users get optimized images.
Video Archive: collect your videos and use them as background video
Collect your videos in one place with the Video Archive. Upload MP4 and WebM, organize them in folders, and choose the background video for your...
Related features
Page Builder: build professional pages without coding
Build professional pages with Shoporama's visual Page Builder. Drag-and-drop modules, live preview, and responsive design, included at no extra cost.
Full design freedom: your design, your rules
Design your online store freely with full access to HTML, CSS, and templates. Use ready-made themes, the drag-and-drop Page designer, or build from...
Build your homepage in the page designer
Your Shoporama homepage is a category. Build it with sections in the page designer, show the right products, and keep the layout off your category...
Montana and MontanaB2B: all modules in the page designer
Guide to all 25 page designer modules in Montana and MontanaB2B: banners, products, categories, text, content entries, and newsletter, field by field.