Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

For a custom website, put a muted, looping <video> inside the homepage hero and position it behind the headline and call to action with CSS. In WordPress, you can start with the Video block and configure its playback settings. In either case, include a poster image and keep essential content as ordinary page text: autoplay may not start, and video can begin downloading before a visitor interacts with the page.

Choose an implementation route

Route Best fit What you control What to check
Native HTML and CSS A custom site, or a theme that lets you edit markup and styles Video sources and attributes, positioning, cropping, and layering Autoplay behavior, fallback image, loading cost, and accessibility
WordPress Video block A WordPress page where the editor or theme provides the needed layout controls Common playback settings through the editor Whether the theme or page builder has a background-video option, and whether video loads earlier than intended

Both routes can work. Native code exposes the details directly; WordPress offers editor settings, but the exact background treatment depends on the theme, page builder, and available CSS controls. WordPress documents the Video block at Video block.

Add a video background with HTML and CSS

1. Prepare the video and fallback image

Choose a short clip that still works when cropped to the hero’s shape. Compress it for web delivery and remove its audio track if it is only decorative and will always play muted. Create a poster image that can represent the hero when the video has not loaded or cannot play. The video is still a media download; the poster does not make a large video file inexpensive to load.

If you have both WebM and MP4 versions, provide them as separate sources so the browser can select a supported format. The HTML video reference explains the element’s source and playback attributes: MDN: <video>.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
#1 Best Overall
YYNXSY 7X5FT Office Backdrop with Window Background for Video YY-1003
  • Impressive Size and Quality: This spectacular Window Backdrop measures 7X5 feet (2.1X1.5 metres) and serves as a stunning zoom backdrop that adds a professional touch to your space
  • High Resolution Printing: The office backdrops are meticulously inkjet printed using high resolution images and state-of-the-art digital production equipment, take photos at a distance to make modern office backdrops look realistic
  • Lightweight and Easy Installation: Made of ultra-thin vinyl material that is very lightweight and easy to install, the high quality backdrop is completely odourless and suitable for meetings, office walls, video calls, virtual meetings and Zoom calls
  • Superior Color Quality: Each backdrop is printed using high-resolution images and state-of-the-art digital production equipment, ensuring the highest quality product, remember to keep a little distance when taking photos to bring the Zoom home office backdrop to life
  • Versatile Usage Options: This backdrop has many uses including bookshelf backdrop for parties, weddings, festivals, library backdrops, room decorations, birthdays, restaurants, hotels, commercial buildings, shopping malls, pubs, concerts, and halls, you can hang it on walls, windows, doors, floors, ceilings, lawns, Christmas trees, and more

2. Put the video and real content in the same hero

<section class="hero">
  <video class="hero__video" autoplay muted loop playsinline poster="/media/hero-poster.jpg" aria-hidden="true">
    <source src="/media/hero-video.webm" type="video/webm">
    <source src="/media/hero-video.mp4" type="video/mp4">
  </video>
  <div class="hero__content">
    <h1>Your headline</h1>
    <p>Keep the message and action in regular page text.</p>
    <a href="/get-started">Get started</a>
  </div>
</section>

Change the source paths and text to match your site. The headline, offer, and action belong in HTML text, not baked into the video: they need to remain available if playback fails, and visitors should be able to read them independently of the moving image.

3. Layer and crop the video with CSS

.hero {
  position: relative;
  min-height: 60vh;
  overflow: hidden;
  isolation: isolate;
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.hero__content {
  position: relative;
  z-index: 1;
}

object-fit: cover fills the hero but crops parts of the image when its proportions differ from the container. Check the result at mobile and desktop widths, and adjust the video framing or hero dimensions if the important subject is cut off. The 60vh value is a starting point, not a required height. If text lacks contrast over some frames, add a suitably tested overlay or background behind the content.

Rank #2
YYNXSY 7X5FT Office Backdrop with Window Background for Video YY-1003
  • Size: 7X5ft office backdrop backdrops photography 2.1X1.5m).
  • Features: Vinyl, pattern-cloth bright colors, high-resolution digital printing, eye-catching details, realistic colors, lightweight and easy to save.
  • Uses: zoom backdrops, party backdrops and banners, studio props, party supplies.
  • Tips: You will receive only the background, booth is not included; Items will be sent in folded form for ease of transport.
  • Service: Your satisfaction is our only purpose! If you have any questions about our background. Please contact us first and you will receive a reply in a short time.

4. Test playback and the fallback

autoplay, muted, loop, playsinline, and poster are supported video-element features. Muted playback is more likely to qualify for autoplay than playback with sound, while playsinline requests playback within the element rather than a separate fullscreen presentation. Neither attribute guarantees that a browser or user setting will permit autoplay. Test the page with autoplay unavailable as well as in the browsers and devices your audience uses. Keep the poster meaningful so the hero remains presentable if playback does not begin.

Add a background video in WordPress

  1. In the page editor, add a Video block where the video should appear, then choose Upload, Media Library, or Insert from URL.
  2. Select the video block and configure the available settings, such as autoplay, loop, muted playback, inline playback, controls, preload, and poster image.
  3. Place the headline and call to action in separate text and button blocks. Check whether your theme or page builder already provides a video-background control; its layout options may be more appropriate than styling a standard Video block yourself.
  4. Preview the published page at different screen sizes and confirm that the poster and text remain usable when the video is not playing.

Uploading a video can slow a page, and a low preload setting is not a guarantee that an autoplaying video will wait: the HTML reference notes that autoplay takes precedence over preload hints. Check actual loading behavior rather than assuming a setting prevents a download. See MDN’s video-element reference and the WordPress Video block guide.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #3
Bessie Bakes Abstract Concrete Replicated Photography Backdrop 19.5 Inch x 19.5 Inch Square 3 mm Thick
  • Lightweight Physical board - Not a roll up or rollout - Moisture & Stain Resistant
  • Measures 19.5 x 19.5 Inches - this is a small square backdrop
  • Rounded corners for easy storage and protection.
  • These backdrops are shipped with the printed side down. Remove from the cardboard and flip over to reveal the printed side.
  • Your white balance settings in your camera or editing process will help achieve a natural color hue

Keep the page fast without losing the visual effect

  • Use one restrained clip. Keep it short and compressed, and avoid loading several large background videos on the same page.
  • Consider when the file loads. Autoplay can cause a download to start immediately, including when a video is outside the initial viewport. For a hero visible on arrival, weigh immediate motion against page loading and Largest Contentful Paint. For below-the-fold video, consider deferring its download until it approaches the viewport.
  • Retain a static fallback. The poster gives the browser an image to show while video data is unavailable; it also helps when autoplay is blocked or video is disabled.
  • Use delivery suited to your site. A media library or an existing media URL can serve a basic implementation. A site with larger files or heavier traffic may need to consider video hosting or CDN delivery; the right choice depends on its delivery needs.

web.dev describes using a poster and Intersection Observer to defer downloading until a video approaches the viewport. Its guidance is to use autoplay only when necessary and anticipated: web.dev: Video performance.

Make the moving background accessible

If the clip is decorative, keep it out of the accessibility tree and ensure that it adds no information visitors need to understand the page. In the example, aria-hidden="true" marks the decorative video as hidden from assistive technology; the visible message remains real text.

Rank #4
Sale
BELECO 7x5ft Fabric Living Room Bookshelf Backdrop Empty Room with Bookcase, Zoom Calls Video Recording Background Home Office Decor Zoom Meetings Photo Studio Props
  • 【Size】: 7x5FT(WxH) / 2.1m x 1.5m / 82 inch x 59 inch, Horizontal Style. Clips and stand are not included . Without grommets or pole pockets.
  • 【Material】: Upgraded Polyester Fabric. BELECO Fabric Backdrop is soft, lightweight, non-fading, durable, and reusable. Can be ironed and washed.
  • 【Customization】: Pictures, sizes, adding words or logo, pole pocket on the top, or round backdrops, etc. can all be customized. For Customization, please feel free to send Amazon message directly.
  • 【Application】: Holiday photography and party decorations, birthday backdrop, baby shower, wedding backdrop, newborn, children photo shoot, selfie shoot, photo booth props, Indoor and Outdoor Photography, zoom meeting, video backdrops, festival displays. BELECO fabric backdrops can be also used as tapestry, table cloth, wallpaper or room wall decoration, etc.
  • 【How to hang】: You can use backdrop stand and clips to hang. or you can use thumbtacks or hooks to hang it on the wall.

If the video conveys information, do not treat it as a decorative background. Provide that information in accessible text, and give visitors an appropriate way to control playback. A looping video runs indefinitely; meaningful video also requires suitable captions and access to its content. web.dev cautions that a background video is not accessible when it conveys content without playback control and access to captions: web.dev: Video performance.

Troubleshoot common problems

Symptom Likely cause What to check or change
The video does not autoplay Browser policy, user settings, or playback conditions prevent it Keep playback muted, retain the poster, and make sure the page is complete without autoplay. Do not promise that autoplay will work everywhere.
The video is cropped badly object-fit: cover fills a differently shaped hero by cropping the source Check the hero at mobile and desktop sizes; choose a better-framed clip or adjust the container and framing.
The headline is hard to read Video frames compete with the text or have uneven contrast Add a tested overlay or a background behind the text, and review it across the whole loop.
The page feels slow A large autoplay file starts downloading early, or several clips load together Compress and shorten the clip, remove unused audio, reduce the number of background videos, and consider deferring offscreen video.
The video does not appear in WordPress as expected The Video block and the theme’s background layout may not provide the same behavior Check the theme or page builder’s video-background controls, then preview the rendered page rather than relying on editor appearance alone.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Or let it run in the cloud

StreamNeo is a separate option for keeping a prerecorded-video YouTube channel live; it does not add a video background to a website homepage. Upload your recording or build a playlist, add your YouTube stream key, and go live. StreamNeo loops the uploaded video from the cloud, so your computer and home connection do not have to stay on. It streams to YouTube, not to other platforms.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Best Value
BELECO 7x5ft Fabric Modern Office Backdrop for Video Conference - Elegant Business Interior Brick Wall Windows Virtual Home Photography Background for Live Video Zoom Calls Photoshoot Props
  • 【Size】: 7x5FT / 2.1m x 1.5m / 82 inch x 59 inch.BELECO Office Backdrop is customizable. If you want to add logo,change design or size, please feel free to contact BELECO customer service..
  • 【Material】: Upgraded Polyester Fabric. BELECO Fabric Office Backdrop is very soft, durable, and reusable. Can be ironed and washed.
  • 【Apply】: Holiday and Party photography decorations, Birthday backdrop, Wedding background, Newborn Children photo shoot, Selfie shoot, photo booth props, Interior and Outdoor Photography, video backdrops, festival displays. It can be also used as tapestry, table cloth, wallpaper or room wall decoration, etc.
  • 【Features】: High-resolution digital print with eye-catching details and lifelike colors. Non-reflective and non-fading.
  • 【Service】: Support personalized customization! If you have any questions about our beautiful backdrops, JUST contact us first, you will get a satisfactory reply within a short time.

For a website hero, use the HTML/CSS or WordPress method above. If your separate goal is a continuous YouTube stream, StreamNeo handles that from the cloud, supports uploaded quality up to 4K 60fps at one flat price per slot, and can automatically recover if YouTube drops the stream. The first day is free with no card. Monthly billing is $9.99 per month.

Learn about StreamNeo, or start your free first day.

Quick Recap

Bestseller No. 2
YYNXSY 7X5FT Office Backdrop with Window Background for Video YY-1003
YYNXSY 7X5FT Office Backdrop with Window Background for Video YY-1003
Size: 7X5ft office backdrop backdrops photography 2.1X1.5m).; Uses: zoom backdrops, party backdrops and banners, studio props, party supplies.
$9.77
Bestseller No. 3
Bessie Bakes Abstract Concrete Replicated Photography Backdrop 19.5 Inch x 19.5 Inch Square 3 mm Thick
Bessie Bakes Abstract Concrete Replicated Photography Backdrop 19.5 Inch x 19.5 Inch Square 3 mm Thick
Lightweight Physical board - Not a roll up or rollout - Moisture & Stain Resistant; Measures 19.5 x 19.5 Inches - this is a small square backdrop
$29.99

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.