msneedkey | onmsneedkey event
Deprecated. Occurs when a key is needed to decrypt the media data.
Important This event is not supported in Internet Explorer 11 on Windows 7.
![]() ![]() |
Syntax
| HTML Attribute | <element onmsneedkey = "handler(event)"> |
|---|---|
| Event Property | object.onmsneedkey = handler; |
| addEventListener Method | object.addEventListener("msneedkey", handler, useCapture) |
Event information
| Synchronous | No |
|---|---|
| Bubbles | No |
| Cancelable | No |
Event handler parameters
- pEvtObj [in]
-
Type: MSMediaKeyNeededEvent
Standards information
Remarks
As of Microsoft Edge this event is deprecated. For more information on EME implementation updates in Microsoft Edge, see Encrypted Media Extensions updates.
See also
Show:

