MDN self-hosted library · e01.org

HTMLMediaElement: mediaKeys property

Encrypted Media Extensions

no runnable cells web-api-instance-property upstream source

Encrypted Media Extensions

The read-only HTMLMediaElement.mediaKeys property returns a MediaKeys object, that is a set of keys that the element can use for decryption of media data during playback.

Value

A MediaKeys object, or null if no key is available.

Specifications

Browser compatibility

See also

  • MediaKeys