Video-React is a web video player built from the ground up for an HTML5 world using React library.
npm install @lahzenegar/video-reactVideo.React is a web video player built from the ground up for an HTML5 world using React library.
Install video-react and __peer dependencies__ via NPM
``sh`
npm install --save video-react react react-dom
import css in your app or add video-react styles in your page
`jsx`
import "~video-react/dist/video-react.css"; // import css`
orscss`
@import "~video-react/styles/scss/video-react"; // or import scss`
orhtml`
Import the components you need, example:
`js
import React from 'react';
import { Player } from 'video-react';
export default (props) => {
return (
);
};
`
Run tests:
`sh`
npm test
`bash``
$ npm install
$ npm start
* This project is heavily inspired by video.js, and most of our css styles came from video.js's styles.
* The document site is built with reactstrap.
* All the icons came from Google Material Icons
* Fonts were built by iconmon.