dom / latest / mediakeysession / keystatuseschange_event.html /

MediaKeySession: keystatuseschange event

The keystatuseschange event of the MediaKeySession API fires when there has been a change in the keys or their statuses within a session.

Syntax

Use the event name in methods like addEventListener(), or set an event handler property.

addEventListener('keystatuseschange', event => { });

onkeystatuseschange = event => { };

Event type

Event properties

Doesn't implement any specific properties, but inherits properties from its parent, Event.

Specifications

Browser compatibility

Desktop Mobile
Chrome Edge Firefox Internet Explorer Opera Safari WebView Android Chrome Android Firefox for Android Opera Android Safari on IOS Samsung Internet
keystatuseschange_event
55
42-55
The onkeystatuseschange event handler property is not supported.
79
52
No
42
29-42
The onkeystatuseschange event handler property is not supported.
12.1
55
43-55
The onkeystatuseschange event handler property is not supported.
55
42-55
The onkeystatuseschange event handler property is not supported.
52
42
29-42
The onkeystatuseschange event handler property is not supported.
12.2
6.0
4.0-6.0
The onkeystatuseschange event handler property is not supported.

© 2005–2021 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/MediaKeySession/keystatuseschange_event