1.0.59 • Published 3 years ago

video-recorder-personal v1.0.59

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

video-recorder-personal

NPM JavaScript Style Guide

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.