{
  "name": "React Kaltura Resumablejs",
  "tagline": "Uploader with ReactResumableJS to upload file into Kaltura",
  "body": "# React Kaltura Resumable JS\r\n\r\nUploader with [ReactResumableJS](https://www.npmjs.com/package/react-resumable-js) to upload file into Kaltura\r\n\r\n[![NPM](https://nodei.co/npm/react-kaltura-resumablejs.png?downloads=true&downloadRank=true&stars=true)](https://nodei.co/npm/react-kaltura-resumablejs/)\r\n\r\n[![CircleCI](https://circleci.com/gh/Artear/ReactKalturaResumableJS.svg)](https://circleci.com/gh/Artear/ReactKalturaResumableJS) [![CircleCI](https://circleci.com/gh/Artear/ReactKalturaResumableJS.svg?style=shield)](https://circleci.com/gh/Artear/ReactKalturaResumableJS)\r\n\r\n### Install\r\n`npm i react-kaltura-resumablejs`\r\n\r\n### Options\r\n\r\n- filetypes: Set the  video extensions to upload. Ex: ['mp4','avi'].\r\n- chunksize: Set in KB the size to upload the file in chunks. Ex: 1024.\r\n- simultaneousUploads: amount of upload at same time. Ex: 1.\r\n- onError: Catch the upload error. Must be a function. Ex: (error) => { return error; }.\r\n- onSuccess: Catch the file success when finish the upload. Ex: (success) => { return success}\r\n- uploaderID: Container ID to render the ReactResumableJS. Ex: \"video-uploader\",\r\n- textLabel: \"Uploaded files\",\r\n- fileAddedMessage: \"Started\",\r\n- completedMessage: \"Complete!:\"\r\n\r\n### Changelog\r\n- 1.0.1\r\n    - updated react-resumablejs\r\n\r\n### Example\r\n\r\n```javascript\r\nexport default class Example extends React.Component {\r\n\r\n    constructor(props) {\r\n        super(props);\r\n    }\r\n    \r\n    render() {\r\n\r\n        return (\r\n\r\n            <div>\r\n               <ReactKalturaResumableJs\r\n                   server=\"http://www.kaltura.com/api_v3\"\r\n                   ks=\"0_asdfafdvsdbsdgsdgsdgs\"\r\n                   onSuccess={(success) => { console.log(success); }}\r\n                   onError={(error) => { console.log(error); }}\r\n               />\r\n            </div>\r\n\r\n        );\r\n    }\r\n}\r\n```\r\n\r\n### Demo\r\n\r\n`npm run demo`",
  "note": "Don't delete this file! It's used internally to help with page regeneration."
}