You are viewing limited content. For full access, please sign in.

Question

Question

Facing Problem to open front camera.

asked on May 13, 2019

We have facing the problem to open the front camera using mobile App. The upload (Take Picture) is not working for Front Camera and only working for back camera.

In Addition we use a HTML code to open the front camera but it worked for iOS and not working for Android.

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

 

0 0

Replies

replied on May 14, 2019

This tag is part of HTML Media Capture capability in HTML 5. Support is spotty among browsers. The CanIUse web site says it works on Safari for iOS and on Android browser but not on Chrome (which is very popular on Android phones). I wasn't able to get it to work on Chrome on my LG G6 phone.

Being able to control which camera is used would be part of the browser's implementation of the capability, and if it did exist, would vary in implementation on different browsers.

 

0 0
replied on May 14, 2019

Thanks @████████

But the problem still not solved, Is there any way to get the front camera, because File Upload feature also not supporting the front camera it. 

0 0
replied on May 15, 2019

I'm sorry but I don't know of one. If there is one, I welcome input from others.

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.