HTML
Example
A video player with a poster image:
<
video
controls
poster
=
"
/images/w3html5.gif
"
<
source
src
=
"
movie.mp4
"
type
=
"
video/mp4
"
<
source
src
=
"
movie.ogg
"
type
=
"
video/ogg
"Your browser does not support the video tag.
video
Try it »
Browser support





All major browsers support the poster property.
Note: Internet Explorer 8 and earlier IE versions are not supported.
Definition and Usage
The poster attribute specifies an image to be shown while the video is downloading, or before the user clicks the play button.
Differences between HTML 4.01 and HTML5
Syntax
Attribute values
| Value | Description |
|---|---|
| URL | Specifies the URL of an image file.
Possible values: |
HTML