<p>For info, here are your current configuration's results inline:</p>
<ul>
<li>
<span id="p3"></span>
Screen supports approximately the gamut specified by the DCI P3 Color Space
or more.
</li>
<li>
<span id="colorDepth"></span>
Color depth is 48 bytes or more.
</li>
<li>
<span id="vp9"></span>
Browser supports VP9 Profile 2, Level 1, 10-bit YUV content.
</li>
</ul>
ul {
padding: 0;
}
li {
list-style-type: none;
}
span {
padding-right: 8px;
}
document.querySelector("#colorDepth").innerHTML =
Math.sign(screen.colorDepth - 47) == 1 ? "✔" : "❌";
document.querySelector("#p3").innerHTML = window.matchMedia("(color-gamut: p3)")
.matches
? "✔"
: "❌";
document.querySelector("#vp9").innerHTML = MediaSource.isTypeSupported(
'video/webm; codecs="vp09.02.10.10"'
)
? "✔"
: "❌";
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.