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.

 

HTML5 A vocabulary and associated APIs for HTML and XHTMLIE11

 

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

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

HTMLMediaElement