Web/API/MediaKeySession/onkeystatuseschange

From Get docs

This is an experimental technologyCheck the Browser compatibility table carefully before using this in production.


The onkeystatuseschange property of the MediaKeySession is an event handler, fired whenever a keystatuschange event ocurrs, denoting there has been a change in the keys or their statuses within a session.

This interface inherits from the ExtendableEvent interface.

Syntax

MediaKeySession.onkeystatuseschange = function(keystatuschange) { ... }

Specifications

Specification Status Comment
Encrypted Media ExtensionsThe definition of 'onkeystatuseschange' in that specification. Recommendation Initial definition.

Browser compatibility

Update compatibility data on GitHub

Desktop Mobile
Chrome Edge Firefox Internet Explorer Opera Safari Android webview Chrome for Android Firefox for Android Opera for Android Safari on iOS Samsung Internet

onkeystatuseschange

Experimental'

Chrome

Full support 55

Edge

Full support 79

Firefox

Full support Yes

IE

No support No

Opera

Full support 42

Safari

?

WebView Android

Full support 43

Chrome Android

Full support 55

Firefox Android

Full support Yes

Opera Android

Full support 42

Safari iOS

?

Samsung Internet Android

Full support 6.0

Legend

Full support  
Full support
No support  
No support
Compatibility unknown  
Compatibility unknown
Experimental. Expect behavior to change in the future.'
Experimental. Expect behavior to change in the future.