You have an explainer video. The obvious place for it is the top of your homepage, right next to your headline.
But a badly placed hero video can make things worse:
- it pushes your sign-up button below the fold,
- slows the page,
- autoplays with sound,
- or turns into a tiny box on mobile that nobody taps.
This guide shows you how to place a 60–90 second AI product video in your homepage hero so it helps visitors understand your product without getting in the way.
At the end you get a responsive hero layout (HTML, CSS and a few lines of JavaScript) you can copy, plus a checklist to test it.
What you need before you start
- The final video, in 16:9, between 60 and 90 seconds, with burned-in or separate captions.
- A hosting choice. Either a YouTube or Vimeo upload, or an MP4 file on your own server or CDN. Both work; the layout below supports both.
- A poster image (thumbnail) at 1280×720, showing your product, not a talking head or a logo on a blank background.
- Your headline and subheadline. They must explain the product on their own, because most visitors will not press play.
- One primary call to action, such as “Start free trial” or “Book a demo”.
- Access to your site: the WordPress editor (Custom HTML block and Additional CSS) or your front-end code.
Step-by-step: placing your video in the hero
-
Check that the hero is the right place. Put the video in the hero when your product is hard to understand from text alone, for example an AI tool whose value only becomes clear when you see it working.
If your headline already makes the product obvious, the video may work better lower on the page, next to the “How it works” section.
If you do not have a finished video yet, do not put a placeholder in the hero. A short Loom walkthrough is fine on a “Demo” page, but a rough screen recording in the most visible spot on your site costs you more than it gives.
-
Choose a split layout on desktop and a stacked layout on mobile. On wide screens, put the text on the left and the video on the right, at roughly equal width.
On phones, stack them: headline, subheadline and button first, video second. Visitors should be able to read what you do and see the button without scrolling past the video.
-
Make the text work without the video. Read your headline and subheadline with the video hidden.
If a stranger still cannot say what the product does and who it is for, fix the copy first. Our first-10-seconds clarity audit walks you through this.
-
Use click-to-play with a poster image. An explainer video has a voiceover, so it should start only when the visitor chooses. Browsers block autoplay with sound anyway.
If you want motion in the hero, use a separate silent, captioned loop, not your full explainer muted.
-
Load the player only when someone clicks. A YouTube or Vimeo iframe loads a lot of code before anyone presses play.
Show a lightweight poster image with a play button instead, and swap in the real player on click. This is often called a “facade”.
For a self-hosted MP4, use
preload="none"so the browser does not download the file in advance. Our guide to adding a SaaS video to WordPress without slowing it down covers the performance side in more detail. -
Reserve the space with a fixed aspect ratio. Give the video container
aspect-ratio: 16 / 9and set width and height on the poster image.The page will not jump when the image or player loads, which keeps the button where the visitor expects it.
-
Label the play button with what the visitor gets. “Watch the 75-second demo” tells people how long it takes and what they will see. A bare play icon does not.
Give the button an accessible label for screen readers too.
-
Test on a real phone and a laptop. Check that:
- the headline and button are visible without scrolling on a common laptop screen,
- the video is full-width on mobile,
- the player opens on tap,
- and captions are on or easy to turn on.
Worked example: Replyhaven’s homepage hero
As in our other Veozapp articles, we use a fictional product. Replyhaven is not a real company.
It is an AI customer-support tool for small support teams that drafts replies from existing help documents.
Before. Replyhaven’s hero had a full-width video with autoplay muted, the headline overlaid on top in white text, and the “Start free trial” button underneath the video.
On a laptop, the button sat below the fold. On mobile, the overlaid headline was hard to read over moving footage.
Step 1. The team decided the hero was the right place: visitors kept asking “Does it answer customers by itself?”, and the video shows clearly that an agent reviews each draft before sending.
Steps 2 and 3. They moved to a split layout. Text on the left:
Headline: “Draft support replies from your own help docs”
Subheadline: “Replyhaven reads your help center and suggests an answer for every new ticket. Your team reviews and sends.”
Button: “Start free trial”
With the video hidden, the text still explained what the product does, who it is for and that a human stays in control.
Steps 4 to 7. The video moved to the right column as a click-to-play poster.
The poster shows a support ticket on the left and a suggested reply on the right, with a badge reading “Watch the 75-second demo”. The YouTube player loads only after a click.
Step 8. On a laptop, the headline, subheadline, button and poster now all fit in the first screen. On a phone, the text and button come first and the video sits directly below at full width.
Note what the team did not do: they made no claims about conversion lifts.
They will compare sign-ups before and after the change over the following weeks rather than assume the new layout works.
Your deliverable: a responsive hero layout
Copy the three blocks below. Replace the text, the poster image path and the VIDEO_ID.
In WordPress, paste the HTML and script into a Custom HTML block (your user needs permission to add scripts, which administrators have by default) and the CSS into Additional CSS.
If your theme has its own hero section, you can use just the video part.
1. HTML
<section class="vz-hero">
<div class="vz-hero__text">
<h1>Draft support replies from your own help docs</h1>
<p>Replyhaven reads your help center and suggests an answer
for every new ticket. Your team reviews and sends.</p>
<a class="vz-hero__cta" href="/signup">Start free trial</a>
</div>
<div class="vz-hero__video">
<button class="vz-hero__play" type="button"
data-video-id="VIDEO_ID"
aria-label="Play the 75-second product video">
<img src="/wp-content/uploads/hero-poster-1280x720.jpg"
alt="A support ticket answered with a suggested reply"
width="1280" height="720">
<span class="vz-hero__badge">Watch the 75-second demo</span>
</button>
</div>
</section>
2. CSS
.vz-hero {
display: grid;
grid-template-columns: 1fr 1.1fr;
gap: 48px;
align-items: center;
max-width: 1200px;
margin: 0 auto;
padding: 64px 24px;
}
.vz-hero__cta {
display: inline-block;
margin-top: 16px;
padding: 14px 24px;
border-radius: 8px;
background: #4666FF;
color: #fff;
font-weight: 600;
text-decoration: none;
}
.vz-hero__video {
position: relative;
aspect-ratio: 16 / 9;
border-radius: 12px;
overflow: hidden;
background: #101827;
}
.vz-hero__play {
display: block;
width: 100%;
height: 100%;
padding: 0;
border: 0;
background: none;
cursor: pointer;
}
.vz-hero__play:focus-visible {
outline: 3px solid #31D6C5;
outline-offset: 3px;
}
.vz-hero__play img,
.vz-hero__video iframe {
display: block;
width: 100%;
height: 100%;
object-fit: cover;
border: 0;
}
.vz-hero__badge {
position: absolute;
left: 16px;
bottom: 16px;
padding: 8px 14px;
border-radius: 999px;
background: #fff;
color: #101827;
font-weight: 600;
}
@media (max-width: 900px) {
.vz-hero {
grid-template-columns: 1fr;
gap: 24px;
padding: 40px 16px;
}
}
3. JavaScript (loads YouTube only on click)
<script>
document.querySelectorAll('.vz-hero__play').forEach(function (btn) {
btn.addEventListener('click', function () {
var iframe = document.createElement('iframe');
iframe.src = 'https://www.youtube-nocookie.com/embed/' +
btn.dataset.videoId + '?autoplay=1&rel=0';
iframe.title = 'Product video';
iframe.allow = 'autoplay; encrypted-media; picture-in-picture';
iframe.allowFullscreen = true;
btn.replaceWith(iframe);
});
});
</script>
Self-hosted MP4 instead of YouTube
Replace the button inside .vz-hero__video with the element below and skip the JavaScript:
<video controls preload="none" playsinline
poster="/wp-content/uploads/hero-poster-1280x720.jpg">
<source src="/wp-content/uploads/explainer-1080p.mp4" type="video/mp4">
<track kind="captions" src="/wp-content/uploads/explainer-en.vtt"
srclang="en" label="English" default>
</video>
Add .vz-hero__video video to the CSS rule that styles the image and iframe so it fills the frame.
Hero video checklist
| Check | Pass? |
|---|---|
| Headline and subheadline explain the product with the video hidden | |
| Primary button visible without scrolling on a laptop | |
| Text and button come before the video on mobile | |
| Video is click-to-play; no sound starts by itself | |
Player loads only on click (or preload="none" for MP4) |
|
| Container uses a 16:9 aspect ratio; no layout jump on load | |
| Poster shows the product, with a duration label | |
| Play button has an accessible label and a visible focus outline | |
| Captions available | |
| Tested on one real phone and one laptop |
Common mistakes
- Letting the video replace the headline. Most visitors never press play. The text has to do the job on its own; the video adds proof and detail.
- Autoplaying the full explainer muted. A voiceover video without sound is a slideshow with no story. If you want motion, make a separate silent version with captions.
- Loading the full player on page load. It slows the page for every visitor, including the majority who never watch.
- Overlaying text on moving video. It is hard to read, especially on mobile. Keep text on a solid background next to the video.
- Using a logo or a blank frame as the poster. The poster is the first thing people judge. Show the product doing its job.
- Pushing the button below the fold. If the video is so large that the call to action disappears, shrink the video column.
- Never checking the result. Look at play rate and sign-ups for a few weeks before and after the change instead of assuming the video helps.
Get more out of the same video
The hero is only one place your explainer can work. Once it is live there, reuse it in onboarding emails, social clips and sales follow-ups.
Our 30-day distribution plan shows how to schedule that over a month.
