ReadonlyboundingThe height of the element on screen in CSS pixels, from getBoundingClientRect. 0 when the box is empty.
ReadonlyboundingThe width of the element on screen in CSS pixels, from getBoundingClientRect, which includes CSS transforms.
0 when the box is empty.
ReadonlycontentThe height of the element's content box in CSS pixels, from the ResizeObserver content rect. Undefined when
the content box is empty.
ReadonlycontentThe width of the element's content box in CSS pixels, from the ResizeObserver content rect, which ignores
CSS transforms. Undefined when the content box is empty.
ReadonlydeviceThe device pixel ratio now.
ReadonlyintersectionThe percent of the element inside the viewport at the last intersection change. 0 when the element is not
connected or its box is empty. It does not include visibility or opacity; see visiblePercent.
ReadonlyintrinsicWhether the element's content box equals the video's intrinsic size within 1 pixel, as when the element has no size of its own.
ReadonlyisWhether the element is rendered now, by checkVisibility with opacity and visibility.
ReadonlyobjectThe computed CSS object-fit of the element.
The on-screen height in device pixels, or undefined when the box is empty. The device pixel ratio is read on each call.
The on-screen width in device pixels, or undefined when the box is empty. The device pixel ratio is read on each call, because it changes without a resize, for example when the window moves to another display.
The percent of the element visible now: the intersection percent while checkVisibility passes, else 0.
checkVisibility is read on each call, because opacity and visibility change without a resize or
intersection change. It is a style check, not a layout read.
[[VideoElementDisplay]] describes how a video element is displayed.