Skip to content

shuat/jwplayer-managment-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jwplayer-api Build Status

A wrapper for jwplayer managment API

Install

$ npm install --save jwplayer-managment-api

Usage

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

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

jwPlayerApi.makeRequest('/videos/create',params).then(console.log).catch(console.error)

// OR 

console.log(jwPlayerApi.generateUrl('/videos/create',params))

License

MIT © 2019 Bitbean LLC

About

Smaller wrapper around JWPlayer's managment-api.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published