HACKER Q&A
📣 nickmyersdt

HTML5 video with EME – is it possible to detect CDM blackout?


A project I'm working on uses Video.js with Encrypted Media Extensions (DRM). We know that if someone plays video via an interface that isn't HDCP compliant or look like it may be used to capture the output, the video plays but is blacked out.

I'm trying to find information about whether it is possible to detect this state, so I can display a message to help users who encounter it.

Anyone know about this stuff?


  👤 phillipseamore Accepted Answer ✓
Not sure if getStatusForPolicy will tell you that the DRM system support HDCP or if the current configuration supports HDCP but you can test this in an unsupported configuration. https://w3c-test.org/encrypted-media/drm-check-status-for-hd...