as

Settings
Sign out
Notifications
Alexa
亚马逊应用商店
Ring
AWS
文档
Support
Contact Us
My Cases
新手入门
设计和开发
应用发布
参考
支持
原生
Skip to main content

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 modified on November 4, 2026