MediaEncryptedEvent: initDataType property

Baseline Widely available

This feature is well established and works across many devices and browser versions. It’s been available across browsers since March 2019.

The read-only initDataType property of the MediaKeyMessageEvent returns a case-sensitive string describing the type of the initialization data associated with this event.

Value

A string.

Specifications

Specification
Encrypted Media Extensions
# dom-mediaencryptedevent-initdatatype

Browser compatibility

Report problems with this compatibility data on GitHub
desktopmobile
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
WebView on iOS
initDataType

Legend

Tip: you can click/tap on a cell for more information.

Full support
Full support