onencrypted event
This event is fired when the browser encounters Initialization Data in the media data.
Syntax
| HTML Attribute | <element onencrypted = "handler(event)"> |
|---|---|
| Event Property | object.onencrypted = handler; |
| addEventListener Method | object.addEventListener("encrypted", handler, useCapture) |
Event information
| Synchronous | No |
|---|---|
| Bubbles | No |
| Cancelable | No |
Event handler parameters
- handler
-
Type: Function
Event handler function
Standards information
Remarks
This event handler is supported by all HTMLMediaElements.
See also
Show: