1.0.59 • Published 3 years ago
video-recorder-personal v1.0.59
video-recorder-personal
Install
npm install --save video-recorder-personal
Usage
for check the camera
import React, { useEffect } from "react";
import { CameraCheck } from "video-recorder-personal";
const Example = () => {
useEffect(() => {
CameraCheck();
}, []);
return <div>{example}</div>;
};
for video recorder
import React, from "react";
import { RecordVideo } from "video-recorder-personal";
const Example = () => {
return (
<div>
<RecordVideo
setVideo={setvideo}
videoHelp={videoHelp}
reload={reload}
/>
</div>
);
};
For the style this package
import "video-recorder-personal/src/style.css";
License
MIT © kavandhossein
This hook is package using create-react-hook.
1.0.59
3 years ago