Skip to content

Eyevinn/is-drm-supported

Repository files navigation

is-drm-supported

Tiny MSE video and audio DRM detection library.

Usage

The package exports the following asynchronous methods:

isPlayreadyLegacySupported

isPlayreadyChromecastSupported

isPlayreadySupported

isPlayreadyHardwareSupported

isWidevineSupported

isFairplayLegacySupported

isFairplaySupported

Example

import { isFairplaySupported } from "@eyevinn/is-drm-supported";

const hasFairplaySupport = await isFairplaySupported();

Contributing

The project uses semantic-release to automatically generate release notes and semantic versioning from on commits, it is important to follow some rules when committing.

This project uses conventional commits.

Read Using Git with Discipline.

Read How to Write a Commit Message.