A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/encrypted_event below:

HTMLMediaElement: encrypted event - Web APIs

HTMLMediaElement: encrypted event

Baseline Widely available

The encrypted event is fired when initialization data is found in the media that indicates it is encrypted.

This event is not cancelable and does not bubble.

Syntax

Use the event name in methods like addEventListener(), or set an event handler property.

addEventListener("encrypted", (event) => { })

onencrypted = (event) => { }
Event type Event properties
MediaEncryptedEvent.initDataType Read only

Returns a case-sensitive string with the type of the format of the initialization data found.

MediaEncryptedEvent.initData Read only

Returns an ArrayBuffer containing the initialization data found. If there is no initialization data associated with the format, it returns null.

Specifications Browser compatibility See also

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4