VideoFrame: visibleRect プロパティ

Limited availability

This feature is not Baseline because it does not work in some of the most widely-used browsers.

visibleRectVideoFrame インターフェイスのプロパティで、この VideoFrame の可視矩形のピクセル数を表す DOMRectReadOnly を返します。

DOMRectReadOnly です。

次の例は visibleRect をコンソールに出力します。

js
console.log(VideoFrame.visibleRect);

仕様書

Specification
WebCodecs
# dom-videoframe-visiblerect

ブラウザーの互換性

Report problems with this compatibility data on GitHub
desktopmobile
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
WebView on iOS
visibleRect

Legend

Tip: you can click/tap on a cell for more information.

Full support
Full support