# Using npm package for camera access

**URL:** <https://forum.wixstudio.com/t/using-npm-package-for-camera-access/69933>\
**Category:** Ask the community\
**Tags:** code, cms, partners\
**Created:** [March 26, 2025, 10:26pm UTC](https://forum.wixstudio.com/t/using-npm-package-for-camera-access/69933 "2025-03-26T22:26:56Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![cthealthltd](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/cthealthltd/32/22874_2.png) [@cthealthltd](https://forum.wixstudio.com/u/cthealthltd)\
**Post date:** [March 26, 2025, 10:26pm UTC](https://forum.wixstudio.com/t/using-npm-package-for-camera-access/69933/1 "2025-03-26T22:26:56Z")

</div>

**Introduction:**  
I trying to take photo of user and store it in CMS. I want the user to select the biometric photo button on which the web browser will ask for user consent for opening camera of device. Then with the take photo button I want the user to take photo from user’s device and then upload.

Is there a npm package that can help me achieve this?  
The URL of my site is:

> **[Course Registration | DLP | CCD](https://www.dlpbadas-bd.org/course-registration-1)**

I have attached 2 screenshots. I have created this using the mutli-step layout. Please can somebody help?

 ![Screenshot_20250327_042304](https://us1.discourse-cdn.com/wix/original/3X/4/7/47bcc88ffeb7cc2750eecfe77baa56afb24d09be.jpeg)  
 ![The screenshot shows a mobile app interface prompting the user to watch a video about CCAT registration requirements, providing contact details for support, and displaying profile information with options to take a biometric photo. (Captioned by AI)](https://us1.discourse-cdn.com/wix/original/3X/7/4/7482bdb4603c9cdc77395c7e9efe2ae388435c7a.jpeg)

---

<div class="post-metadata">

**Author:** ![CODE-NINJA](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/code-ninja/32/110588_2.png) [@CODE-NINJA](https://forum.wixstudio.com/u/CODE-NINJA)\
**Post date:** [April 25, 2025, 10:26am UTC](https://forum.wixstudio.com/t/using-npm-package-for-camera-access/69933/2 "2025-04-25T10:26:26Z")

</div>

Already resolved your issue ?

---

<div class="post-metadata">

**Author:** ![cthealthltd](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/cthealthltd/32/22874_2.png) [@cthealthltd](https://forum.wixstudio.com/u/cthealthltd)\
**Post date:** [April 25, 2025, 3:43pm UTC](https://forum.wixstudio.com/t/using-npm-package-for-camera-access/69933/3 "2025-04-25T15:43:33Z")

</div>

Nope not yet. Still looking

---

<div class="post-metadata">

**Author:** ![CODE-NINJA](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/code-ninja/32/110588_2.png) [@CODE-NINJA](https://forum.wixstudio.com/u/CODE-NINJA)\
**Post date:** [April 25, 2025, 4:29pm UTC](https://forum.wixstudio.com/t/using-npm-package-for-camera-access/69933/4 "2025-04-25T16:29:22Z")

</div>

What you have already done?

1. You have some already generated (not working) code?
2. You have already found and read some POSTS related to your issue?
3. You can provide a datailed SETUP + DESCRIPTION )PICS) ?
4. Your intention is to take a BIOMETRIC-PHOTO directly from CAM ?

 ![2025-04-25 18_23_41-Window](https://us1.discourse-cdn.com/wix/original/3X/9/f/9f30bd44aff441dad950896bdcdb528ce9511ccd.png)

At this point, my question would be → If it is possible to use normal CAM-PICs as → BIOMATRIC-PHOTOS (i don’t know) → BIOMETRIC-PHOTOS should be done in professional photo-studios which have the special equipment for that, out of my knowledge.

Anyway, back to your issue. In the past i also dealt with similar problems.  
**!!! To solve your issue won’t be easy !!!**

You will face several restrictions, which you will have to **WORK-AROUND**.

**You can start your ADVANTURE here…**

> [@Microphone, Camera, Sound](https://forum.wixstudio.com/t/microphone-camera-sound/55327):
>
> I have now spent a lot of time investigating the issue with iFrames and the problem with … -allowing microphone (mic-activation) -allowing sound playback (sound-activation) -allowing camera (camera-activation) …inside the HTML-Component. Since there are no options given inside the VELO-APIs for that… …only → allow-fullscreen is given… …so it is not really possible to access microphone or activate sound and camerea inside…

And then you read this aswell …

> [@\*\*\*Text to Speech\*\*\* ElevenLabs (JARVIS)](https://forum.wixstudio.com/t/text-to-speech-elevenlabs-jarvis/54919/2):
>
> !!! O M G!!! GOT THAT —\> S H I T \<— to work !!! The real → ARRAY-BUFFER \<— [2023-12-31 03\_28\_03-Chat-GPT \_ WixWorld] shushing_face shushing_face shushing_face shushing_face shushing_face shushing_face shushing_face shushing_face shushing_face shushing_face shushing_face shushing_face shushing_face shushing_face shushing_face shushing_face !!! Direct text to speech !!! → Let’s activate AI-based-JARVIS grinning upside_down_face crazy_face with a HIGH-QUA…

One of those should help you somehow.

By the way …  
 ![2025-04-25 18_33_08-Window](https://us1.discourse-cdn.com/wix/original/3X/d/7/d7d7fe34e0a24d64374b6a8f344df3c9dccf6293.png)  
That still works 🙃

And another note → Please connect your other post to this one aswell, i saw several posts of yours, dealing with the same problem ( **linkthem** )
