Partager via


IHTMLVideoElement interface

Specifies the video content to be played in a webpage.

Members

The IHTMLVideoElement interface inherits from the IDispatch interface. IHTMLVideoElement also has these types of members:

  • Properties

Properties

The IHTMLVideoElement interface has these properties.

Property Description

height

Gets or sets the height of the video element.

poster

Gets or sets a URL of an image to display, for example, like a movie poster. This can be a still frame from the video, or another image if no video data is available.

videoHeight

Gets the intrinsic height of a video in CSS pixels, or zero if the dimensions are not known.

videoWidth

Gets the intrinsic width of a video in CSS pixels, or zero if the dimensions are not known.

width

Gets or sets the width of the video element.

 

Requirements

Minimum supported client

Windows Vista with SP1, Windows 7

Minimum supported server

Windows Server 2008 R2

Header

Mshtml.h

IDL

Mshtml.idl

DLL

Mshtml.dll

See also

IDispatch