kylesziv / react-plyr

📺 A React video component based on Plyr

Home Page:https://xdae.github.io/react-plyr/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ReactPlyr Video Component

npm npm David Travis license

A React video component based on Plyr.

react-plyr

Installation

Add react-plyr into your package.json dependencies:

npm install react-plyr --save

Usage

import Plyr from 'react-plyr';

// add the component in the render function
render() {
  return (
    <Plyr
      type="youtube"
      videoId="CDFN1VatiJA"
    />
  )
}

Support

Please open an issue for support.

Contributing

Please contribute using Github Flow. Create a branch, add commits, and open a pull request.

About

📺 A React video component based on Plyr

https://xdae.github.io/react-plyr/

License:MIT License


Languages

Language:JavaScript 99.4%Language:HTML 0.6%