GeezerVison is showing developer.mozilla.org — VideoColorSpace - Web APIs | MDN
VideoColorSpace
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 browser support for this feature? Tell us why.
The VideoColorSpace interface of the WebCodecs API represents the color space of a video.
In the following example, colorSpace is a VideoColorSpace object returned from VideoFrame. The object is then printed to the console.
js
let colorSpace = VideoFrame.colorSpace;
console.log(colorSpace);