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.
Instance properties
-
MediaKeySystemAccess.keySystem Read only
-
Returns a string identifying the key system being used.
Instance methods
MediaKeySystemAccess.createMediaKeys() -
Returns a Promise that resolves to a new MediaKeys object.
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 a distinctiveIdentifier nor a persistentState property. |
No |
29 |
12.1 |
43 |
42 |
43Before Firefox 50, the returned object has neither a distinctiveIdentifier 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 |