G
G
Gleb2020-05-13 13:46:41
Android
Gleb, 2020-05-13 13:46:41

How to launch the camera on the phone from a mobile browser?

Hello dear community.
The task is as follows, the manager accesses the site from the phone. He wants some button, when you click on it, the camera on the phone should start and scan the QR code, then follow the link.

<input type="file" accept="image/*" capture="camera">


I tried this, the camera starts up, but the QR code does not see.
If you just start the camera on your phone, then qr reads.

Tell me what are the possible solutions? Thank you.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question