The poster attribute on <video> is a URL to an image shown while the video is downloading and before playback starts. It gives users a clear thumbnail instead of an empty or black player box.
If you omit poster, MDN notes that nothing useful is shown until the first frame is available — then that frame acts as the poster. Pair with controls, src or <source>, and often preload.
Baseline · Widely available.
Not deprecated and not experimental. Stable across modern browsers since about July 2015. Applies to <video> only.
Decorative preview — not a caption.
Poster is an image URL, not text. Describe the video elsewhere (nearby heading, transcript, or accessible name) so the meaning is clear without relying on the picture alone.
Syntax
HTML Syntax
syntax.html
<video poster="url">…</video>
url is the image address (relative or absolute). Equivalent JS: video.poster = "/images/thumb.png".
Switch posters or remove the attribute. Reload the player if you already pressed play — the poster is clearest before playback.
poster
Sample clip from /video/count.mp4. Poster images load separately from the video file.
Video
poster="/images/apple.png"
Code
HTML Examples
Short, copy-ready snippets. Use Try It Yourself for a live editor.
Example 1 — Basic Video Poster
Show a thumbnail before the user presses play.
HTML
<video width="400" height="225" controls playsinline
poster="/images/apple.png">
<source src="/video/count.mp4" type="video/mp4">
Your browser does not support the video element.
</video>
The browser paints that image in the video box before playback.
<source> supplies the MP4 separately from the poster.
controls lets the user start playback and replace the poster with video frames.
Example 2 — Poster with preload="none"
Keep a visible thumbnail while hinting the browser not to fetch the video early.
HTML
<video width="400" height="225" controls playsinline
poster="/images/javascript.png"
preload="none">
<source src="/video/count.mp4" type="video/mp4">
Your browser does not support the video element.
</video>
With poster — a chosen image appears immediately in the player.
Without poster — you often see a blank/black box until a frame is ready.
MDN default — once the first frame is available, that frame becomes the stand-in.
Pick a useful still that matches the video’s aspect ratio for a polished look.
Edge Cases & Pitfalls
Most surprises come from broken image URLs, wrong aspect ratio, or expecting the poster to return after pause.
scope
Video only
poster is not valid on <audio>. Use it only on <video>.
404
Broken poster URL
If the image fails to load, you lose the custom thumbnail. Check the path the same way you would for <img src>.
pause
Poster usually does not return
After play starts, pausing shows the current frame — not the original poster image.
ratio
Match width and height
Set width and height (or CSS aspect-ratio) so the poster and video share the same box and avoid layout jump.
lazy
Lazy loading delays poster too
Per MDN: when loading="lazy" is set on video, the poster resource is fetched only once the video is near or in the viewport.
Compatibility
Browser Support
poster is an HTML attribute on the video element in the browser. It is not a Node.js, Deno, or Bun API.
✓ Widely available
poster
Supported in all modern browsers for HTML video. Use a lightweight image that matches the video aspect ratio.
97%Global support (approx.)
Google ChromeAll modern
Full support
Mozilla FirefoxAll modern
Full support
Apple SafariAll modern
Full support
Microsoft EdgeAll modern
Full support
OperaAll modern
Full support
Samsung InternetModern
Full support
Internet Explorer9+
Supported
posterWidely supported
Bottom line: Safe to use on every modern video embed. Prefer a small still image so the preview loads quickly.
Remember
Key Takeaways
Role: image URL shown before video playback.
Element:<video> only — not audio.
Separate fetch from the video file — works well with preload="none".
Omit it and the first available frame becomes the stand-in later.
One line:poster is a preview image URL for <video> until playback starts.
Frequently Asked Questions
On a video element, poster is a URL to an image shown while the video is downloading or before playback starts. If you omit it, nothing useful shows until the first video frame is available, then that frame is used.
Only the video element. The audio element has no poster attribute.
It is shown until playback begins (or enough data is ready to show a frame). Once the user plays, the video frames replace the poster. Pausing later typically shows the current frame, not the poster again.
Any image format the browser can display in an img context — commonly PNG, JPEG, WebP, and GIF. Prefer a lightweight still that matches the video aspect ratio.
poster is a separate image fetch. With preload="none", the video file itself may wait, but the poster image can still load so users see a thumbnail. Autoplay usually needs video data and overrides a none preload intent.
No. It is a standard HTML attribute on video and is Baseline widely available across modern browsers.