@castlabs/prestoplay
TypeScript icon, indicating that this package has built-in type declarations

6.19.0 • Public • Published

PRESTOplay for Web Apps

PRESTOplay for Web Apps is our SDK framework for deploying fantastic HTML/JavaScript video players across web-enabled platforms.

You can start using PRESTOplay now for your local development, and visit us to get your license.

Documentation, manuals, tutorials and demos can be found at https://demo.castlabs.com.

Installation and getting started

You can install the PRESTOplay SDK using a package manager such as npm or yarn using:

npm install @castlabs/prestoplay

Once installed, you can follow the getting started guide for a full example, but here is how it would look like:

import {clpp} from "@castlabs/prestoplay"
import "@castlabs/prestoplay/cl.mse"
import "@castlabs/prestoplay/cl.dash"

const player = new clpp.Player("video");
player.use(clpp.dash.DashComponent);

player.load({
  source: "https://content.players.castlabs.com/demos/clear-segmented/manifest.mpd"
})

There is also an accompanying stylesheet that can be found in:

node_modules/@castlabs/prestoplay/clpp.styles.css

Support and Help

License

Package Sidebar

Install

npm i @castlabs/prestoplay

Weekly Downloads

961

Version

6.19.0

License

See https://castlabs.com/legal/

Unpacked Size

3.22 MB

Total Files

66

Last publish

Collaborators

  • castlabs-admin
  • hessamcastlabs