Amazon Developer

as

Settings
Sign out
Notifications
Alexa
Amazon Appstore
Ring
AWS
Documentation
Support
Contact Us
My Cases
Get Started
Design and Develop
Publish
Reference
Support

HTMLVideoElement

Extends

Constructors

new HTMLVideoElement()

new HTMLVideoElement(): HTMLVideoElement

Returns

HTMLVideoElement

Properties

width

width: number

Sets the display width of the video. For additional information, see https://html.spec.whatwg.org/multipage/embedded-content-other.html#dom-dim-width.


height

height: number

Sets the display height of the video. https://html.spec.whatwg.org/multipage/embedded-content-other.html#dom-dim-height.


videoWidth

readonly videoWidth: number

Gets the width of the video. For additional information, see https://html.spec.whatwg.org/multipage/media.html#dom-video-videowidth.


videoHeight

readonly videoHeight: number

Gets the height of the video. For additional information, see https://html.spec.whatwg.org/multipage/media.html#dom-video-videoheight.


poster

poster: string


playsInline

playsInline: boolean

Methods

getVideoPlaybackQuality()

abstract getVideoPlaybackQuality(): VideoPlaybackQuality

Get video playback quality attributes. For additional information, see https://w3c.github.io/media-playback-quality/#dom-htmlvideoelement-getvideoplaybackquality.

Returns

VideoPlaybackQuality


Last updated: Jul 22, 2026