@eyevinn/is-drm-supported
v2.0.0
Published
HTML5 MSE DRM support detection library
Downloads
943
Readme
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.