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.
MediaKeySystemAccess.keySystem
Read only
DOMString
identifying the key system being used.MediaKeySystemAccess.createMediaKeys()
Promise
that resolves to a new MediaKeys
object.MediaKeySystemAccess.getConfiguration()
MediaKeySystemConfiguration
object with the supported combination of configuration options.Specification | Status | Comment |
---|---|---|
Encrypted Media Extensions The definition of 'MediaKeySystemAccess' in that specification. | Recommendation | Initial definition. |
Desktop | ||||||
---|---|---|---|---|---|---|
Chrome | Edge | Firefox | Internet Explorer | Opera | Safari | |
Basic support | 42 | Yes | ? | ? | ? | ? |
keySystem
|
42 | 13 | ? | ? | ? | ? |
createMediaKeys
|
42 | 13 | ? | ? | ? | ? |
getConfiguration
|
42 | 13 | ? | ? | ? | ? |
Mobile | |||||||
---|---|---|---|---|---|---|---|
Android webview | Chrome for Android | Edge Mobile | Firefox for Android | Opera for Android | iOS Safari | Samsung Internet | |
Basic support | 43 | 42 | Yes | ? | ? | ? | 4.0 |
keySystem
|
43 | 42 | Yes | ? | ? | ? | 4.0 |
createMediaKeys
|
43 | 42 | Yes | ? | ? | ? | 4.0 |
getConfiguration
|
43 | 42 | Yes | ? | ? | ? | 4.0 |
© 2005–2018 Mozilla Developer Network and individual contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/MediaKeySystemAccess