Link:https://visual-capture-tool.netlify.app
Welcome to the Visual Capture Tool! This tool allows you to capture and manage media content seamlessly. Below, you'll find details about the key files in this project.
Files
-
db.js This file establishes a connection to an IndexedDB database named "myDataBase." It includes event listeners for successful connections, errors, and database upgrades or initial creation. Two object stores, "video" and "image," are created for storing media content.
-
gallery.html An HTML file that includes the structure for a gallery to view captured images and videos. It uses IndexedDB to retrieve and display media content.
-
gallery.css CSS styling for the gallery interface, defining styles for various elements like media containers, action buttons, and filters.
-
gallery.js JavaScript code for handling the gallery functionality. It includes event listeners for successful database connections, errors, and upgrades. Object stores for "video" and "image" are created during the upgrade process.
-
index.html The main HTML file for the Visual Capture Tool. It includes video display, recording, capturing, timer, filters, and a link to the gallery. Dependencies are loaded, such as the shortid library, and scripts for db.js and scripts.js are included.
-
scripts.js JavaScript code responsible for handling the recording, capturing, and filtering functionality. It utilizes the MediaRecorder API for video recording and IndexedDB for storing captured images and videos.
-
style.css CSS styles for the main interface, including video display, action buttons, timers, filters, and the gallery icon.
Clone the repository:
git clone [your forked_repo link]
Open index.html in your browser.
Use the provided buttons to record videos, capture images, and apply filters.
Click on the gallery icon to view captured media. Live Demo
Check out the live demo of the Visual Capture Tool deployed on Netlify.
To deploy this project run
npm run start