MediaKeySystemAccess

Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.

The MediaKeySystemAccess interface of the EncryptedMediaExtensions 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.

Properties

MediaKeySystemAccess.keySystem Read only

Returns a DOMString identifying the key system being used.

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
Yes
12.1
43
42
38
Yes
12.2
4.0
createMediaKeys
42
13
38
No
Yes
12.1
43
42
38
Yes
12.2
4.0
getConfiguration
42
13
43
No
Yes
12.1
43
42
43
Yes
12.2
4.0
keySystem
42
13
38
No
Yes
12.1
43
42
38
Yes
12.2
4.0

© 2005–2021 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/MediaKeySystemAccess