MDN self-hosted library · e01.org

VideoColorSpace: fullRange property

WebCodecs APIwindowanddedicated

Open notebook · 1 cells web-api-instance-property upstream source

WebCodecs APIwindow_and_dedicated

The fullRange read-only property of the VideoColorSpace interface returns true if full-range color values are used.

Value

A Boolean, true if full-range color values are used.

Examples

In the following example, colorSpace is a VideoColorSpace object returned from VideoFrame. The value of fullRange is printed to the console.

let colorSpace = VideoFrame.colorSpace;
console.log(colorSpace.fullRange);

Specifications

Browser compatibility