The HTML poster attribute
Quick answer
The HTML poster attribute specifies an image to show while the video downloads or until the user plays it. It is used on the <video> element.
Overview
The poster attribute sets a placeholder image for a video. It is used on the <video>, <audio>, <source> and <track> elements.
It configures native audio or video playback — the source, controls, autoplay and looping behavior, the poster image, and text tracks. It works with the <video>/<audio> elements and their nested <source> and <track> children.
Syntax
<video src="clip.mp4" poster="cover.jpg" controls></video>
Values
| Value |
|---|
| A URL pointing to an image. |