react-videoplayer-snapshot

0.1.0 • Public • Published

Video Player Component

This React component allows you to display a video with basic controls and take snapshots of the video frames.

Installation

To use this component in your React project, you can install it via npm or yarn:

npm install video-player-react

import React from 'react';
import VideoPlayer from 'video-player-react';

const App = () => {
  return (
    <div>
      <VideoPlayer src="path/to/your/video.mp4" />
    </div>
  );
};

export default App;


## Props
src: The URL or path to the video file to be played.
Snapshot
You can take a snapshot of the current frame of the video by clicking the "Take Snapshot" button.

## License
This component is licensed under the MIT License.

Readme

Keywords

none

Package Sidebar

Install

npm i react-videoplayer-snapshot

Weekly Downloads

2

Version

0.1.0

License

none

Unpacked Size

29.7 kB

Total Files

17

Last publish

Collaborators

  • gobinath-b