Skip to content
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vuplay jwplayer

Description

This repo will demostrate how to use vudrm with the JWPlayer. If you have any questions please contact support@vualto.com

This repo is currently targeted at version 8.5.6 of JWPlayer

Instructions

Install dependencies

  1. Install npm
  2. Install the grunt-cli: npm install -g grunt-cli
  3. Clone the repo: git clone git@github.com:Vualto/vuplay-jwplayer.git
  4. Navigate to the project's root folder: cd vuplay-jwplayer
  5. Install the dependencies: npm install

Set required variables

  1. Open the repo in your favourite javascript editor.
  2. In the file vuplay.js replace <mpeg-dash-stream-url> with your MPEG-DASH stream url.
  3. In the file vuplay.js replace <hls-stream-url> with your HLS stream url.
  4. In the file vuplay.js replace <fairplay-cert-url> with the url to the fairplay certificate. Please contact support@vualto.com if you do not have this url.
  5. In the file vuplay.js replace <vudrm-token> with a vudrm token from https://admin.drm.technology

Build and run the code

This repo contains a development node.js server. This server is not suitable for production.

  1. Add the host jwplayer.vuplay.local.drm.technology to your local machine's hosts file.
  2. Run grunt serve --jwplayer-key=<your-jwplayer-key>, replacing <your-jwplayer-key> with your jwplayer key.
  3. Load a supported browser and go to https://jwplayer.vuplay.local.drm.technology:14703

You will need an enterprise license with JWPlayer in order to playback DRM encrypted content. Please contact support@vualto.com or JWPlayer for more information. To retrieve the jwplayer key click here and copy the license key for the appropriate player in the Downloads section.

In order to allow DRM encrypted playback in chrome (https://goo.gl/EEhZqT), SSL has been enabled for the demo. You will get a warning about an invalid cert NET::ERR_CERT_AUTHORITY_INVALID but this can safely be ignored.

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@vualto.com

Useful links

vudrm

mpeg-DASH

HLS

Encrpyted media extensions

JWPlayer

Build tools

About

This is an example of how to use JWPlayer with vudrm

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages