This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
The Encrypted Media Extensions API provides interfaces for controlling the playback of content which is subject to a digital restrictions management scheme.
MediaKeyMessageEvent
MediaKeys
HTMLMediaElement
can use for decryption of media data during playback.MediaKeySession
MediaKeyStatusMap
MediaKeySystemAccess
MediaKeySystemConfiguration
Specification | Status | Comment |
---|---|---|
Encrypted Media Extensions | Recommendation | Initial definition |
Feature | Chrome | Edge | Firefox (Gecko) | Internet Explorer | Opera | Safari (WebKit) |
---|---|---|---|---|---|---|
Basic support | 35.0 (prefixed old version; ClearKey and Widevine) 42.0 | (Yes)(PlayReady) | 38.0 (38.0) (Primetime (Windows-only) and Clear Key; MP4 only) | 11 (Windows 8.1+ only; prefixed old version; PlayReady) | 31 (Clear Key and Widevine) | 7.0 (prefixed old version of API without matching MSE support; FairPlay Streaming) 8.0 (prefixed and usable with MSE) |
Secure contexts only | ? | ? | No support[1] | ? | ? | ? |
Feature | Android | Android Webview | Edge | Firefox Mobile (Gecko) | IE Mobile | Opera Mobile | Safari Mobile | Chrome for Android |
---|---|---|---|---|---|---|---|---|
Basic support | No support | 43.0 | (Yes)(PlayReady) | ? | ? | ? | ? | 42.0 |
Secure contexts only | No support | ? | ? | ? | ? | ? | ? | ? |
[1] Firefox currently allows Encrypted Media Extensions to be used in insecure contexts, despite this not being allowed in the specification. This will be changed in the near future, and starting in Firefox 55, deprecation warnings are ouptut to the web console when this is done.
© 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/Encrypted_Media_Extensions_API