---
title: MediaKeyMessageEvent.message
slug: Web/API/MediaKeyMessageEvent/message
tags:
  - API
  - EncryptedMediaExtensions
  - Experimental
  - MediaKeyMessageEvent
  - Property
  - Reference
  - message
browser-compat: api.MediaKeyMessageEvent.message
---
{{APIRef("EncryptedMediaExtensions")}}{{SeeCompatTable}}

The **`MediaKeyMessageEvent.message`** read-only property
returns an {{jsxref("ArrayBuffer")}} with a message from the content decryption module.
Messages vary by key system.

## Syntax

```js
var messageType = mediaKeyMessageEvent.messageType;
```

## Specifications

{{Specifications}}

## Browser compatibility

{{Compat}}
