react-jw-player-ts

TypeScript

A typescript version of <ReactJWPlayer> – a React component for initialization and control over client-side instances of JWPlayer.

Intro

The project originally started as a fork of the existing 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
✅     upgrade React packages to support React 17
✅     use custom eslint config
✅     replace Tape test runner with Jest
✅     rewrite original codebase in typescript
✅     cleanup and update component’s props and events

In progress
❌     provide a complete typing of configuration props and events
❌     update component’s interface to support the most recent edition of JWplayer API (v8.23.2)
❌     rewire props to native JSON API
❌     cover the component with new tests
❌     write a thorough documentation

Installation

⚠️     FOR TESTING ONLY: currently not recommended for production use     ⚠️

npm install react-jw-player-ts

Usage

…under development…

License

MIT

GitHub

View Github