Tutorials References Exercises Videos Menu
Create Website Get Certified Upgrade

HTML poster Attribute


Definition and Usage

The poster attribute specifies an image to be shown while the video is downloading, or until the user hits the play button. If this is not included, the first frame of the video will be used instead.


Applies to

The poster attribute can be used on the following element:

Elements Attribute
<video> poster

Example

Video 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 Yourself »

Browser Support

The poster attribute has the following browser support:

Element
video 4.0 9.0 3.5 4.0 10.5