1.0.6 • Published 5 years ago

jwplayer-managment-api v1.0.6

Weekly downloads
1
License
MIT
Repository
-
Last release
5 years ago

jwplayer-managment-api

A NodeJS wrapper for jwplayer managment API

Install

$ npm install --save jwplayer-managment-api

Usage

const JwPlayerApi = require('jwplayer-managment-api');
const jwPlayerApi = new JwPlayerApi({
  key: "********",
  secret: "********"
})

const endpoint = "videos/create";

const params = {
  title,
  sourcetype: "url",
  sourceurl: "https://videoUrl.mp4",
  sourceformat: 'mp4',
  tags: "tag"
}

jwPlayerApi.makeRequest(endpoint,params).then(console.log).catch(console.error)

// OR 

console.log(jwPlayerApi.generateUrl(endpoint,params))

Read JW Player Docs

To see the complete list of enpoints and the params they take checkout JW Player API Docs

License

MIT © 2019 Bitbean LLC

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago