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.
SyntaxUse 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
.
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