Skip to content

kaleemullah1/video-recording-javascript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

video-recorder-javascript

Video Recording with javascript using User Media API

This repository provides an example implementation of video recording using the JavaScript getUserMedia API. It demonstrates how to access the user's camera and microphone, record video and audio streams, and save the recorded media locally.

Browsers

Tested on Chrome, Firefox, Safari, Android, iPhone

Prerequisites

Web browser with support for the getUserMedia API (Chrome, Firefox, or Edge). Basic knowledge of HTML, CSS, and JavaScript.

Usage

  1. Clone the repository or download the source code.
  2. Open the index.html file in a web browser.
  3. Grant permission to access the camera and microphone when prompted.
  4. Click the "Start Recording" button to begin recording.
  5. Perform the desired actions or movements in front of the camera.
  6. Click the "Stop Recording" button to stop the recording.
  7. The recorded video will be saved as a local file in the browser's default download location.

Customization

You can customize the recording parameters and file format by modifying the JavaScript code in video-record.js. Feel free to adjust the video resolution, frame rate, audio settings, and file format according to your requirements.

Contributing Contributions to this repository are welcome. If you encounter any issues or have suggestions for improvements, please open an issue or submit a pull request.

About

Video Recording with javascript using User Media API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published