Re: [media-and-entertainment] Support for HDR images and video on the web (#96)

[Media Capabilities](https://www.w3.org/TR/media-capabilities/). Allows websites to query browser support for decoding media formats, including HDR video.

The spec doesn't include rendering capabilities. There was a long discussion of what API support is needed, and where it should be exposed, before we settled on CSS media queries.

Capturing the current status here, from https://github.com/w3c/media-capabilities/issues/135:

- Mediaqueries-5 has a [`video-dynamic-range` feature](https://drafts.csswg.org/mediaqueries-5/#video-dynamic-range), which is separate from the [`dynamic-range` feature](https://drafts.csswg.org/mediaqueries-5/#dynamic-range) on Screen
- similarly Mediaqueries-5 has a [`video-color-gamut` feature](https://drafts.csswg.org/mediaqueries-5/#video-color-gamut) , which is separate from the [`color-gamut` feature](https://drafts.csswg.org/mediaqueries-5/#color-gamut) on Screen
- The `p3` gamut query value is defined relative to Display P3 (which now has a formal definition) rather than the related DCI P3

Media WG still has an open question in https://github.com/w3c/csswg-drafts/issues/6891 on how to expose the video plane pixel ratio.

-- 
GitHub Notification of comment by chrisn
Please view or discuss this issue at https://github.com/w3c/media-and-entertainment/issues/96#issuecomment-1858181041 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Friday, 15 December 2023 16:54:00 UTC