poster attribute on a <video> tag specifies the URL or path of an image which will be displayed before the video plays.
poster attribute on a <video> element.
A Playing Soon image is displayed while the video has not started yet.
<video poster="/img/html/playing-soon.png" width="320" height="240" controls> <source src="/media/movie.mp4" type="video/mp4"> <source src="/media/movie.ogg" type="video/ogg"> </video>
poster attribute specifies a poster image that displays while the video is loading or before it is started.
This attribute accepts the URL or path of the poster image.
Starting the video will permanently remove the poster image.
If no poster image is specified, the first frame of the video will be displayed instead, that is, if the video file is partially or completely preloaded.
<video poster="URL" />
|URL||URL of the poster image.|
Here is when
poster support started for each browser:
Back to <video>