0.0.3 • Published 1 year ago

react-jw-player-ts v0.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

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\ :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:

npm install react-jw-player-ts

Usage

...under development...

License

MIT