React Twitch Embed Video

Your solution to embeding the Twitch video player in your ReactJS application.

Installation

yarn npm
yarn add react-twitch-embed-video npm install react-twitch-embed-video

Usage

Visit the github page for lives examples and documentation: https://talk2megooseman.github.io/react-twitch-embed-video/

import ReactTwitchEmbedVideo from "react-twitch-embed-video"
.
.
.

<ReactTwitchEmbedVideo channel="talk2megooseman" />

Development

Usage

  1. Install modules

    yarn

  2. Check package.json so that the information is correct.

  3. Start stroybook and start coding!

    yarn start

  4. Bundle with yarn build

  5. To test if it works correctly in another project you can use npm npm install -S ../react-twitch-embed-video Note the relative path

Extra

  • If you want to run eslint:

    yarn lint

  • If you want to automatically fix lint problems run :

    yarn lint-fix

Commands

  • yarn
  • yarn build
  • yarn start
  • yarn release
  • yarn deploy-storybook
  • yarn lint
  • yarn lint-fix

GitHub