JSPM

@eyevinn/is-drm-supported

1.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 202
  • Score
    100M100P100Q98369F
  • 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:

isPlayreadySupported

isPlayreadyRecommendedSupported

isWidevineSupported

isFairplaySupported

Example

const isSupported = await isFairplaySupported();