MediaKeySystemAccess

The MediaKeySystemAccess interface of the Encrypted Media Extensions API provides access to a Key System for decryption and/or a content protection provider. Available only in secure contexts.

MDN Reference

Properties

Link copied to clipboard

The keySystem read-only property of the MediaKeySystemAccess interface returns a string identifying the key system being used.

Functions

Link copied to clipboard

The MediaKeySystemAccess.createMediaKeys() method returns a Promise that resolves to a new MediaKeys object.

Link copied to clipboard

The MediaKeySystemAccess.createMediaKeys() method returns a Promise that resolves to a new MediaKeys object.

Link copied to clipboard

The getConfiguration() method of the MediaKeySystemAccess interface returns an object with the supported combination of the following configuration options: