This feature is well established and works across many devices and browser versions. It’s been available across browsers since March 2019.
Secure context: This feature is available only in secure contexts (HTTPS), in some or all supporting browsers.
The MediaKeySystemAccess interface of the Encrypted Media Extensions API provides access to a Key System for decryption and/or a content protection provider. You can request an instance of this object using the Navigator.requestMediaKeySystemAccess() method.
MediaKeySystemAccess.keySystem Read only
Returns a string identifying the key system being used.
MediaKeySystemAccess.createMediaKeys()MediaKeySystemAccess.getConfiguration()Returns an object with the supported combination of configuration options.
| Desktop | Mobile | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Chrome | Edge | Firefox | Opera | Safari | Chrome Android | Firefox for Android | Opera Android | Safari on IOS | Samsung Internet | WebView Android | WebView on iOS | |
MediaKeySystemAccess |
42 | 13 | 38 | 29 | 12.1 | 42 | 38 | 29 | 12.2 | 4.0 | 43 | 12.2 |
createMediaKeys |
42 | 13 | 38 | 29 | 12.1 | 42 | 38 | 29 | 12.2 | 4.0 | 43 | 12.2 |
getConfiguration |
42 | 13 | 43Before Firefox 50, the returned object has neither adistinctiveIdentifier nor a persistentState property. |
29 | 12.1 | 42 | 43Before Firefox for Android 50, the returned object has neither adistinctiveIdentifier nor a persistentState property. |
29 | 12.2 | 4.0 | 43 | 12.2 |
keySystem |
42 | 13 | 38 | 29 | 12.1 | 42 | 38 | 29 | 12.2 | 4.0 | 43 | 12.2 |
© 2005–2025 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/MediaKeySystemAccess