## Overview

Nearly every license provider, such as Irdeto or EZDRM, requires a few special information being sent to the DRM license server, or responds with a proprietary format. Instead of integrating a few license providers into the core of our player, we decided to provide necessary configuration options via the player configuration.

## Widevine



Please replace the following placeholders in the code:

  • **DASH_MANIFEST_URL**: The URL to the DASH manifest (MPD) file.

  • **EZDRM_ACCOUNT_ID**: Your EZDRM account ID. If your setup requires the sending of `customData` to the license server, this can be added to the license server URL as well:



Please replace the following placeholders in the code:

  • **DASH_MANIFEST_URL**: The URL to the DASH manifest (MPD) file.

  • **EZDRM_ACCOUNT_ID**: Your EZDRM account ID.

  • **BASE64_ENCODED_CUSTOM_DATA**: EZDRM customData to send along with the license request.

## PlayReady



Please replace the following placeholders in the code:

  • **DASH_MANIFEST_URL**: The URL to the DASH manifest (MPD) file.

  • **EZDRM_ACCOUNT_ID**: Your EZDRM account ID. If your setup requires the sending of customData to the license server, this can be added to the license server URL as well:



Please replace the following placeholders in the code:

  • **DASH_MANIFEST_URL**: The URL to the DASH manifest (MPD) file.

  • **EZDRM_ACCOUNT_ID**: Your EZDRM account ID.

  • **BASE64_ENCODED_CUSTOM_DATA**: EZDRM customData to send along with the license request.

## FairPlay



Please replace the following placeholders in the code:

  • **HLS_MANIFEST_URL**: The URL to the HLS manifest (M3U8) file.

  • **CONTENT_ID**: The content ID for the given asset, which should be in the format xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx.

  • **CERTIFICATE_URL**: The URL to the Fairplay certificate. This needs to be accessible for the player.

## Complete example for Widevine, PlayReady and FairPlay



Please replace the following placeholders in the code:

  • **DASH_MANIFEST_URL**: The URL to the DASH manifest (MPD) file.

  • **HLS_MANIFEST_URL**: The URL to the HLS manifest (M3U8) file.

  • **CONTENT_ID**: The content ID for the given asset, which should be in the format xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx.

  • **CERTIFICATE_URL**: The URL to the Fairplay certificate. This needs to be accessible for the player.

  • **EZDRM_ACCOUNT_ID**: Your EZDRM account ID.