react video preview
Installation
NPM
npm install react-video-preview
Usage
Without jsx
ReactDOM;
With jsx
ReactDOM;
HOC
You can use HOC Preview
to compose with another component and customize entire video/audio preview.
This is our default video component:
const Video = <video ="webcam-preview" = = = > </video>; // here our hoc Preview receiving default Video// you can use your custom video component insteadconst VideoPreview = ;