react-jw-player-ts
Version:
A fork of react-jw-player rewritten in typescript
35 lines (26 loc) • 1.77 kB
Markdown
# react-jw-player-ts
[](http://www.typescriptlang.org/)
A typescript version of `<ReactJWPlayer>` – a React component for initialization and control over client-side instances of [JWPlayer](https://jwplayer.com/).
## Intro
The project originally started as a fork of the existing [react-jw-player](https://github.com/micnews/react-jw-player) library and then evolved into a standalone repo with a redesigned and fully typed codebase. At the moment, the package is at its alpha stage with most of the planned features still being under development.
**Already done**\
:white_check_mark: upgrade React packages to support React 17\
:white_check_mark: use custom eslint config\
:white_check_mark: replace Tape test runner with Jest\
:white_check_mark: rewrite original codebase in typescript\
:white_check_mark: cleanup and update component's props and events
**In progress**\
:x: provide a complete typing of configuration props and events\
:x: update component's interface to support the most recent edition of JWplayer API (v8.23.2)\
:x: rewire props to native JSON API\
:x: cover the component with new tests\
:x: write a thorough documentation
## Installation
:warning: FOR TESTING ONLY: currently not recommended for production use :warning:
```shell
npm install react-jw-player-ts
```
## Usage
...under development...
## License
MIT