Interface

HTMLVideoElement

HTMLVideoElement

Provides special properties and methods for manipulating video objects. It also inherits properties and methods of HTMLMediaElement and HTMLElement.

View Source js/lib.dom.d.ts, line 4204

Members

number

# height

Gets or sets the height of the video element.

View Source js/lib.dom.d.ts, line 4207

boolean

# playsInline

Gets or sets the playsinline of the video element. for example, On iPhone, video elements will now be allowed to play inline, and will not automatically enter fullscreen mode when playback begins.

View Source js/lib.dom.d.ts, line 4212

string

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

View Source js/lib.dom.d.ts, line 4217

number

# videoHeight

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

View Source js/lib.dom.d.ts, line 4222

number

# videoWidth

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

View Source js/lib.dom.d.ts, line 4227

number

# width

Gets or sets the width of the video element.

View Source js/lib.dom.d.ts, line 4232