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
- Install npm
- Install the grunt-cli:
npm install -g grunt-cli - Clone the repo:
git clone git@github.com:Vualto/vuplay-jwplayer.git - Navigate to the project's root folder:
cd vuplay-jwplayer - Install the dependencies:
npm install
- Open the repo in your favourite javascript editor.
- In the file
vuplay.jsreplace<mpeg-dash-stream-url>with your MPEG-DASH stream url. - In the file
vuplay.jsreplace<hls-stream-url>with your HLS stream url. - In the file
vuplay.jsreplace<fairplay-cert-url>with the url to the fairplay certificate. Please contact support@vualto.com if you do not have this url. - In the file
vuplay.jsreplace<vudrm-token>with a vudrm token from https://admin.drm.technology
This repo contains a development node.js server. This server is not suitable for production.
- Add the host
jwplayer.vuplay.local.drm.technologyto your local machine's hosts file. - Run
grunt serve --jwplayer-key=<your-jwplayer-key>, replacing<your-jwplayer-key>with your jwplayer key. - 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.
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
- Encrypted media extensions specification
- Encrypted media extensions wikipedia
- Encrypted media extensions on MDN
- Intro to encrypted media extensions