Html5 can only call photo albums but not cameras?

problem description

<input id="uploaderCustomInput" multiple name="image[]" class="weui-uploader__input js_file" type="file" accept="image/*">

cannot call the camera under android?

the environmental background of the problems and what methods you have tried

vux development, package with cordova

related codes

/ / Please paste the code text below (do not replace the code with pictures)

what result do you expect? What is the error message actually seen?

want to pop up camera and photo album options


if Android calls the camera, you need webview , that is, App to support it. You can take a look at this article https://blog.csdn.net/villa_m..

Wechat or other browsers can take a look at the properties capture https://www.w3.org/TR/html-me.

.

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


just remove the accept setting. The latest kernel setting goes directly to the camera and there is no photo album to choose from.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1be47da-316f5.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1be47da-316f5.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?