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.keySystemRead only- Returns a
DOMStringidentifying the key system being used.
Methods
MediaKeySystemAccess.createMediaKeys()- Returns a
Promisethat resolves to a newMediaKeysobject. MediaKeySystemAccess.getConfiguration()- Returns a
MediaKeySystemConfigurationobject with the supported combination of configuration options.
Specifications
| Specification | Status | Comment |
|---|---|---|
| Encrypted Media Extensions The definition of 'MediaKeySystemAccess' in that specification. |
Recommendation | Initial definition. |
Browser compatibility
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.
Update compatibility data on GitHub
| Desktop | Mobile | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Basic support | Chrome Full support 42 | Edge Full support Yes | Firefox ? | IE ? | Opera ? | Safari ? | WebView Android Full support 43 | Chrome Android Full support 42 | Edge Mobile Full support Yes | Firefox Android ? | Opera Android ? | Safari iOS ? | Samsung Internet Android Full support 4.0 |
keySystem | Chrome Full support 42 | Edge Full support 13 | Firefox ? | IE ? | Opera ? | Safari ? | WebView Android Full support 43 | Chrome Android Full support 42 | Edge Mobile Full support Yes | Firefox Android ? | Opera Android ? | Safari iOS ? | Samsung Internet Android Full support 4.0 |
createMediaKeys | Chrome Full support 42 | Edge Full support 13 | Firefox ? | IE ? | Opera ? | Safari ? | WebView Android Full support 43 | Chrome Android Full support 42 | Edge Mobile Full support Yes | Firefox Android ? | Opera Android ? | Safari iOS ? | Samsung Internet Android Full support 4.0 |
getConfiguration | Chrome Full support 42 | Edge Full support 13 | Firefox ? | IE ? | Opera ? | Safari ? | WebView Android Full support 43 | Chrome Android Full support 42 | Edge Mobile Full support Yes | Firefox Android ? | Opera Android ? | Safari iOS ? | Samsung Internet Android Full support 4.0 |
Legend
- Full support
- Full support
- Compatibility unknown
- Compatibility unknown
- Experimental. Expect behavior to change in the future.
- Experimental. Expect behavior to change in the future.