JSPM

@eyevinn/is-drm-supported

2.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 202
  • Score
    100M100P100Q98355F
  • License MIT

HTML5 MSE DRM support detection library

Package Exports

  • @eyevinn/is-drm-supported
  • @eyevinn/is-drm-supported/dist/is-drm-supported.min.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@eyevinn/is-drm-supported) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

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.

Read Using Git with Discipline.

Read How to Write a Commit Message.