如何允许摄像机在Chromebook上以售货亭模式部署的Google Apps脚本Web应用程序?

发布于 2025-02-05 20:48:56 字数 128 浏览 2 评论 0原文

我的Google Apps脚本Web应用程序使用网络摄像头使用户能够拍照,但是当我在售货亭模式下(使用Chrome Sign Builder)在Chromebook上部署它时,则不允许使用摄像机,并且似乎没有一个允许相机的方法。有办法解决吗?

My Google Apps Script Web App uses the web camera to enable users to take a photo, but when I deploy it on a Chromebook in Kiosk Mode (using Chrome Sign Builder) then the camera is not allowed and there doesn't seem to be a way to allow the camera. Is there a way around this?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

活泼老夫 2025-02-12 20:48:57

这是我用于WebApp的表格,它允许我拍摄收据的图像,

输入类型文件在iPhone上产生了一个对话框,使我可以拍摄和图像。

<form id="myForm">
    <br /><input type="date" name="date" id="dt"/>
    <br /><input type="number" name="amount" placeholder="Amount" id="amt" />
    <br /><input type="text" name="vendor" placeholder="Vendor" id="vndr"/>
    <br /><textarea name="notes" cols="40" rows="2" placeholder="NOTES" 
id="notes"></textarea>
    <br/>Receipt Image
    <br /><input type="file" name="receipt" id="img" />
    <br /><input type="button" value="Submit" 
onclick="fileUploadJs(this.parentNode)" />
  </form>

This was the form I used for a webapp that allowed me to take images of the receipt

The input type file produced a dialog on my iphone that allowed me to take and image.

<form id="myForm">
    <br /><input type="date" name="date" id="dt"/>
    <br /><input type="number" name="amount" placeholder="Amount" id="amt" />
    <br /><input type="text" name="vendor" placeholder="Vendor" id="vndr"/>
    <br /><textarea name="notes" cols="40" rows="2" placeholder="NOTES" 
id="notes"></textarea>
    <br/>Receipt Image
    <br /><input type="file" name="receipt" id="img" />
    <br /><input type="button" value="Submit" 
onclick="fileUploadJs(this.parentNode)" />
  </form>
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文