This repository will demonstrate how to use VUDRM with Bitmovin. If you have any questions please contact [email protected]
This repository is currently targeting Bitmovin version 8.2.2.
- Install npm
- Install the grunt-cli:
npm install -g grunt-cli
- Clone the repository:
git clone [email protected]:Vualto/vuplay-bitmovin.git
- Navigate to the project's root folder:
cd vuplay-bitmovin
- Install the dependencies:
npm install
- Open the repository in your favourite javascript editor.
- In file
src/vuplay-bitmovin.js
replace<your-bitmovin-player-key>
with your Bitmovin player key. - In file
src/vuplay-bitmovin.js
replace<your-stream-url>
with your stream URL. This can be a MPEG-DASH or HLS stream. - In file
src/vuplay-bitmovin.js
replace<your-vudrm-token>
with a VUDRM token from https://admin.drm.technology - Uncomment the appropriate code in the file
src/vuplay-bitmovin.js
. The code you uncomment will depend on the stream technology you want to use. - Run
npm run build
in the project's root. This will create adist
folder that contains all the files needed to run this demo. N.B. You will need to add the hostbitmovin.local.vuplay.co.uk
to your local machine's hosts file in order for this to work. This domain will need to be white listed within your Bitmovin dashboard. - Load a supported browser and go to
https://bitmovin.local.vuplay.co.uk:14712
NB: 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 be safely ignored.
The browser must support encrypted media extensions. Currently this includes the latest versions of Chrome, Firefox, Internet Explorer 11, Edge, and Safari. For a complete breakdown of supported media extensions please contact [email protected]