hahow / studiodrm-jwplayer

This is an example of how to use JWPlayer with Studio DRM

Home Page:https://hahow.github.io/studiodrm-jwplayer/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

JW Player DRM Tester

Description

This repository will demonstrate how to use Studio DRM with JW Player. If you have any questions please contact support@jwplayer.com

Instructions

Install dependencies

  1. Install npm
  2. Clone the repository: git clone git@github.com:hahow/studiodrm-jwplayer.git
  3. Navigate to the project's root folder: cd studiodrm-jwplayer
  4. Install the dependencies: npm install

Build and run the dev environment

  1. Open the repository in your favorite javascript editor.
  2. Run npm run dev in the project's root.
  3. Load a supported browser and go to http://127.0.0.1:5173/studiodrm-jwplayer/
  4. In the demo page replace Player Library URL with the cloud player library url found in the "Player Downloads & Keys" section of your JW Player account on the dashboard. Please refer to the following documentation for guidance on retrieving your cloud player library url
  5. In the demo page replace API Secret. Please refer to the following documentation for guidance on retrieving your signature
  6. In the demo page replace Media ID and Policy ID. Please refer to the following documentation for guidance on retrieving your policy ID

You will need an enterprise license with JW Player in order to playback DRM encrypted content. Please contact support@jwplayer.com or see JW Player pricing for more information.

Browser support

The browser must support encrypted media extensions. Currently this includes the latest versions of Chrome, Firefox, Internet Explorer 11 and Edge. For a complete breakdown of supported media extensions please contact support@jwplayer.com

About

This is an example of how to use JWPlayer with Studio DRM

https://hahow.github.io/studiodrm-jwplayer/


Languages

Language:TypeScript 76.1%Language:HTML 18.6%Language:JavaScript 5.4%