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

SynchronousNo
BubblesNo
CancelableNo

 

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

HTMLMediaElement

 

 

Show: