扩展
构造函数
new HTMLVideoElement()
new HTMLVideoElement(): HTMLVideoElement返回值
HTMLVideoElement属性
width
width:number
设置视频的显示宽度。有关更多信息,请参阅https://html.spec.whatwg.org/multipage/embedded-content-other.html#dom-dim-width(仅提供英文版)。
height
height:number
设置视频的显示高度。https://html.spec.whatwg.org/multipage/embedded-content-other.html#dom-dim-height(仅提供英文版)。
videoWidth
readonly videoWidth: number
获取视频的宽度。有关更多信息,请参阅https://html.spec.whatwg.org/multipage/media.html#dom-video-videowidth(仅提供英文版)。
videoHeight
readonly videoHeight: number
获取视频的高度。有关更多信息,请参阅https://html.spec.whatwg.org/multipage/media.html#dom-video-videoheight(仅提供英文版)。
poster
poster:string
playsInline
playsInline:boolean
方法
getVideoPlaybackQuality()
abstract getVideoPlaybackQuality(): VideoPlaybackQuality
获取视频播放质量属性。有关更多信息,请参阅https://w3c.github.io/media-playback-quality/#dom-htmlvideoelement-getvideoplaybackquality(仅提供英文版)。
返回值
VideoPlaybackQuality

