Release new version of plyr-react@3 with typescript.
Here you can see in action.
chintan9 / plyr-react
A simple, accessible and customisable react media player for Video, Audio, YouTube and Vimeo
plyr-react
Installation
This plugin requires minimum Node.js with npm or yarn.
# with npm
npm i plyr-react plyr
# with yarn
yarn add plyr-react plyr
Usage
import Plyr from 'plyr-react'
import 'plyr/dist/plyr.css'
export default function App() {
return (
<Plyr
source={
{
/* ... */
}
}
options={
{
/* ... */
}
}
/>
)
}
Note: You will need mark
source
as a type ofany
until a new release of Plyr is available.
Example
Click here to see example and you can play with this example.
Contribute
Getting started for Development
There are two methods for getting started with this repo.
Familiar with Git?
> git clone git@github.com:chintan9/plyr-react.git
> cd plyr-react
> npm run install
Not Familiar with Git?
Click here to download the .zip file. Extract the contents of the zip file, then open your terminal, change…
Top comments (0)