We're looking for a user researcher to understand the needs of developers and designers. Is this you or someone you know? Check out the post: https://mzl.la/2IGzdXS

HTMLMediaElement.onencrypted

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

The onencrypted property of the HTMLMediaElement is an event handler, fired whenever an encrypted event occurs, denoting the media is encrypted.

This interface inherits from the ExtendableEvent interface.

Syntax

HTMLMediaElement.onencrypted = function(encrypted) { ... }

Specifications

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

Browser Compatibility

FeatureChromeEdgeFirefoxInternet ExplorerOperaSafari
Basic support ? ? ? ? ? ?
FeatureAndroid webviewChrome for AndroidEdge mobileFirefox for AndroidOpera AndroidiOS SafariSamsung Internet
Basic support ? ? ? ? ? ? ?

Document Tags and Contributors

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