VideoColorSpace: fullRange property
Limited availability
This feature is not Baseline because it does not work in some of the most widely-used browsers.
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
BCD tables only load in the browser