camera_capture
Summary: Capture images and short videos (10s) directly from browser for EKYC or identity verification. Works on desktop, laptop, tablet, and mobile with HTTPS and localhost support.
Introduction
The Camera Capture module provides a unified experience for capturing images and short video recordings (up to 10 seconds) directly from a user’s device camera. It is designed for EKYC and identity verification workflows and works seamlessly across desktops, laptops, tablets, and mobile devices. The module supports modern browsers including Microsoft Edge, Google Chrome, Mozilla Firefox, and Apple Safari. Captured files are stored in standard Drupal’s file system in PNG (images) and WebM (videos) formats. Currently, the module works only on http://localhost and HTTPS-based URLs.
Features
- Capture images and short videos (10 seconds) from device camera.
- Unified experience across desktop, laptop, tablet, and mobile.
- Compatible with latest versions of Edge, Chrome, Firefox, and Safari.
- Stores files in Drupal’s file directory as PNG (images) and WebM (videos).
- Works on HTTPS URLs and
http://localhostfor development.
Use Cases:
- Financial institutions for online account opening.
- Government portals for identity verification.
- Membership or subscription-based platforms requiring photo/video proof.
Post-Installation
After enabling the module:
- There is no separate settings required for this module
The module integrates with Drupal’s file system automatically to upload the captured image or video.
Additional Requirements
- Drupal 10 or 11 core.
- HTTPS enabled on production (works on
http://localhostfor development). - User needs to provide permission to access and use camera and microphone of the device