如何永久允许在iOS-Safari的可信网站上使用相机 [英] How to permanently allow usage of camera on trusted websites with iOS - Safari

查看:239
本文介绍了如何永久允许在iOS-Safari的可信网站上使用相机的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我发现 quaggaJS ,这是一款非常高效的条码扫描仪,我正在我的网站上实施。它正在使用网络摄像头扫描条形码。

I'm discovering quaggaJS, a very efficient barcode scanner which I'm implementing on my website. It's using the webcam to scan barcodes.

有没有办法永久允许在Safari(iOS)的可信站点上使用网络摄像头。

Is there any way to permanently allow the usage of the webcam on trusted sites with Safari (iOS).

例如,访问演示网站 ,将系统地要求使用相机的许可。

As an example, visiting there demo site, will systematically ask permission to use camera.

我想让我的网站访问者永久选择此选项。

I would like to make this choice permanent for visitors of my website.

推荐答案

不幸的是,似乎没有办法永久授权网站访问Safari中的iPhone相机(尚未)。

Unfortunately, it seems there is no way to permanently grant a website access to the iPhone camera within Safari (yet).

iOS 11添加了完全禁用相机和放大器的选项Safari隐私和放大器中的麦克风访问安全设定。拥有相机和相机但是,为Safari启用了麦克风访问权限,这仅表示当网站请求访问用户媒体时,Safari会询问用户他们的权限。

iOS 11 added the option to completely disable camera & microphone access in the Safari privacy & security settings. Having the camera & microphone access enabled for Safari, however, only means that Safari will ask the user for their permission when a website requests access to the user media.

不幸的是,从iOS 11.3开始,没有进一步的网站特定设置可用,因此您的用户必须每次相机都必须确认他们的权限您的网站需要访问。

Unfortunately, as of iOS 11.3, no further website-specific settings are available, so your users would have to confirm their permission every time camera access is needed on your website.

我想参考相应的Apple支持页面,但这个问题似乎还没有解决。

I'd like to reference the corresponding Apple Support page, but this question doesn't seem to be addressed there yet.

这篇关于如何永久允许在iOS-Safari的可信网站上使用相机的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆