通过网络浏览器单击按钮打开移动相机

问题描述 投票:0回答:1

当我从浏览器中单击按钮时,我想打开移动相机。下面是一张我想做的图像。This is an image what i have now

我可以从本地选择文件,也想从摄像机添加。

<form action="" method="post" enctype="multipart/form-data">  
           <input type="file" name="uploadedfile" accept="image/*" capture="camera">  
           <input type="submit" value="Upload">  
        </form>

我尝试了上面的代码打开相机,它来自How to access a mobile's camera from a web app?。现在,请帮助我通过浏览器在手机上显示相机。

html mobile
1个回答
0
投票
© www.soinside.com 2019 - 2024. All rights reserved.