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.
On this page
MediaKeySystemAccess
Instance properties
MediaKeySystemAccess.keySystem
Read only-
Returns a string identifying the key system being used.
Instance methods
-
MediaKeySystemAccess.createMediaKeys()
-
MediaKeySystemAccess.getConfiguration()
-
Returns an object with the supported combination of configuration options.
Specifications
Browser compatibility
Desktop | Mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Chrome | Edge | Firefox | Internet Explorer | Opera | Safari | WebView Android | Chrome Android | Firefox for Android | Opera Android | Safari on IOS | Samsung Internet | |
MediaKeySystemAccess |
42 | 13 | 38 | No | 29 | 12.1 | 43 | 42 | 38 | 29 | 12.2 | 4.0 |
createMediaKeys |
42 | 13 | 38 | No | 29 | 12.1 | 43 | 42 | 38 | 29 | 12.2 | 4.0 |
getConfiguration |
42 | 13 |
43Before Firefox 50, the returned object has neither adistinctiveIdentifier nor a persistentState property.
|
No | 29 | 12.1 | 43 | 42 |
43Before Firefox 50, the returned object has neither adistinctiveIdentifier nor a persistentState property.
|
29 | 12.2 | 4.0 |
keySystem |
42 | 13 | 38 | No | 29 | 12.1 | 43 | 42 | 38 | 29 | 12.2 | 4.0 |
© 2005–2023 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/MediaKeySystemAccess