HTML <video> posteri Özellik

❮ HTML <video> etiketi

Örnek

Poster resmi olan bir video oynatıcı:

<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>

Tanım ve Kullanım

Nitelik poster, video indirilirken veya kullanıcı oynat düğmesine basana kadar gösterilecek bir resmi belirtir. Bu dahil değilse, bunun yerine videonun ilk karesi kullanılacaktır.


Tarayıcı Desteği

Tablodaki sayılar, özelliği tam olarak destekleyen ilk tarayıcı sürümünü belirtir.

Attribute
poster 4.0 9.0 3.6 3.1 10.5

Sözdizimi

<video poster="URL">

Özellik Değerleri

Value Description
URL Specifies the URL of the image file.

Possible values:

  • An absolute URL - points to another web site (like href="http://www.example.com/poster.jpg")
  • A relative URL - points to a file within a web site (like href="poster.jpg")

❮ HTML <video> etiketi