Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

react-jw-player-ts

dreamistus78MIT0.0.3TypeScript support: included

A fork of react-jw-player rewritten in typescript

react, jwplayer, jw-player, video, autoplay, events

readme

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

changelog

0.0.3 (March 30, 2023)

  • Add audio tracks event mapping

0.0.2 (June 14, 2022)

  • Add basic implementation

0.0.1 (December 1, 2021)

  • Package created