A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://developer.cdn.mozilla.net/zh-CN/docs/Web/API/HTMLVideoElement/videoWidth below:

HTMLVideoElement.videoWidth - Web API | MDN

HTMLVideoElement.videoWidth

Baseline Widely available

HTMLVideoElement 接口提供只读的 videoWidth 属性,指示视频的 固有宽度,使用 css 的像素值表示。 简单来说,这是媒体的初始宽度。

参见 HTMLVideoElement.videoHeight > About intrinsic width and height 查看更多细节。

属性

整数值,以 CSS 的像素值指定视频的固有宽度。 如果元素的 readyState 是HTMLMediaElement.HAVE_NOTHING,则此属性的值为 0,因为视频和开头帧的大小并不能知道。

规范 浏览器兼容性

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4