var Promise = HTMLMediaElement.setMediaKeys(mediaKeys);
- A reference to a
MediaKeysobject that the
HTMLMediaElementcan use for decryption of media data during playback.
Promise that resolves to the passed instance of
|Encrypted Media Extensions
The definition of 'setMediaKeys()' in that specification.
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.