Search e01
One query across the encyclopedia, books, dictionary, papers, Wikidata and the developer library. Every hit carries its source.
6 results across 6 corpora for MediaKeys.
Developer library 6
Firefox 128 release notes for developers
Blob.bytes() is supported for returning the data from a Blob as an array of bytes in a Uint8Array object. ([Firefox bug 1896509](https://bugzil.la/1896509)). - MediaKeys.getStatusForPolicy() is now supported for checking whether the CDM module, which is used to decrypt DRM protected content, would allow the presentation of encrypted media data for a "hypothetical" key based on specified policy requirements such as th
MediaKeys
Encrypted Media Extensions The **`MediaKeys`** interface of [Encrypted Media Extensions API](/docs/Web/API/Encrypted_Media_Extensions_API) represents a set of keys that an associated HTMLMediaElement can use for decryption of media data during playback. ## Instance properties None. ## Instance methods - MediaKeys.createSession() - : Returns a new MediaKeySession object, which represents a context for message e
MediaKeys: getStatusForPolicy() method
Encrypted Media Extensions The `getStatusForPolicy()` method of the MediaKeys interface is used to check whether the Content Decryption Module (CDM) would allow the presentation of encrypted media data using the keys, based on the specified policy requirements. The method returns a Promise that resolves with a string that indicates the status of the key with respect to all the specified policy requirements. If the
MediaKeys: createSession() method
Encrypted Media Extensions The `createSession()` method of the MediaKeys interface returns a new MediaKeySession object, which represents a context for message exchange with a content decryption module (CDM). ## Syntax ```js-nolint createSession() createSession(mediaKeySessionType) ``` ### Parameters - `mediaKeySessionType` - : A string. Either "temporary" or "persistent-license". The default value is "tempor
MediaKeys: setServerCertificate() method
Encrypted Media Extensions The **`setServerCertificate()`** method of the MediaKeys interface provides a server certificate to be used to encrypt messages to the license server. ## Syntax ```js-nolint setServerCertificate(serverCertificate) ``` ### Parameters - `serverCertificate` - : An ArrayBuffer, a TypedArray, or a DataView object containing the server certificate. The contents are Key System-specific.
Encrypted Media Extensions API
for controlling the playback of content which is subject to a digital restrictions management scheme. Access to this API is provided through Navigator.requestMediaKeySystemAccess(). ## Interfaces - MediaEncryptedEvent - : Represents a specific encrypted event thrown when a HTMLMediaElement encounters some initialization data. - MediaKeyMessageEvent - : Contains the content and related data when the content de