Skip to content

In this repository you will find an example of how to use the Lightning SDK VideoPlayer to play protected media with Dash

Notifications You must be signed in to change notification settings

mlapps/dash-drm-example

Repository files navigation

Dash DRM Example

com.metrological.app.DashDRMExample

This repo demonstrates how the Lightning SDK VideoPlayer can be used to play protected media content with Dash (Widevine or PlayReady DRM). You can follow the instructions below to run the app.

Please note that some browsers may not be compatible with all the DRM systems featured in this app.

Getting started

Before you follow the steps below, make sure you have the Lightning-CLI installed globally only your system

npm install -g @lightningjs/cli

Running the App

  1. Install the NPM dependencies by running npm install

  2. Build the App using the Lightning-CLI by running lng build inside the root of your project

  3. Fire up a local webserver and open the App in a browser by running lng serve inside the root of your project

Developing the App

During development you can use the watcher functionality of the Lightning-CLI.

  • use lng watch to automatically rebuild your App whenever you make a change in the src or static folder
  • use lng dev to start the watcher and run a local webserver / open the App in a browser at the same time

Documentation

Use lng docs to open up the Lightning-SDK documentation.

About

In this repository you will find an example of how to use the Lightning SDK VideoPlayer to play protected media with Dash

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published