camera-preview icon indicating copy to clipboard operation
camera-preview copied to clipboard

rear camera does not work in chrome android web version

Open rodrigoGA opened this issue 4 years ago • 2 comments

The rear camera does not work in android web version (tested on chrome and firefoxx)

I think the problem is related to this line

 constraints.video = { facingMode: 'environment' };

instead this example does work: https://jsfiddle.net/drbj820p/ I can't understand what the problem is

rodrigoGA avatar Oct 28 '21 00:10 rodrigoGA

Attached screen of the compiled code, said line is not found in the version that is distributed

Captura de pantalla de 2021-10-30 11-56-43

rodrigoGA avatar Oct 30 '21 14:10 rodrigoGA

any workaround on this?

naonvl avatar Nov 10 '21 15:11 naonvl