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

The onwaitingforkey property of the HTMLMediaElement is an event handler, fired when a waitingforkey event  occurs, when playback is blocked while waiting for an encryption key.

This interface inherits from the ExtendableEvent interface.


HTMLMediaElement.onwaitingforkey = function(waitingforkey) { ... }


Specification Status Comment
The definition of 'onwaitingforkey' in that specification.
Unknown Initial definition.

Browser Compatibility

FeatureChromeEdgeFirefoxInternet ExplorerOperaSafari
Basic support55 No ? ?42 ?
FeatureAndroid webviewChrome for AndroidEdge mobileFirefox for AndroidOpera AndroidiOS SafariSamsung Internet
Basic support5555 No ?42 ? ?

Document Tags and Contributors

Contributors to this page: fscholz, david_ross, jpmedley
Last updated by: fscholz,