已从应用程序打开浏览器权限(使用javascript) 由 bquia发布于 2020-05-24 09:11:18 所有浏览器均需要打开相机,麦克风,弹出窗口等权限。您可以从应用程序中打开权限窗口(使用javascript)吗?还是只有浏览器才能做到? enter image description here
来自mdn:
The
MediaDevices.getUserMedia()
method prompts the user for permission to use a media input which produces a MediaStream with tracks containing the requested types of media.https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/getUserMedia