A React video component based on Plyr.
Add react-plyr
into your package.json dependencies:
npm install react-plyr --save
import Plyr from 'react-plyr';
// add the component in the render function
render() {
return (
<Plyr
type="youtube"
videoId="CDFN1VatiJA"
/>
)
}
Please open an issue for support.
Please contribute using Github Flow. Create a branch, add commits, and open a pull request.