VideoColorSpace: fullRange property

Baseline 2024
Newly available

Since September 2024, this feature works across the latest devices and browser versions. This feature might not work in older devices or browsers.

Want more support for this feature? Tell us why.

Note: This feature is available in Dedicated Web Workers.

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.

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

Specifications

Specification
WebCodecs
# dom-videocolorspace-fullrange

Browser compatibility