Chrome getUserMedia Not Requesting Permission Locally

前端 未结 5 650
轻奢々
轻奢々 2020-11-29 10:11

I\'m attempting to play around with navigator.getUserMedia in Chrome; however, it is not requesting permission when served locally (file:///whatever/index.html), but does on

5条回答
  •  [愿得一人]
    2020-11-29 10:53

    You can use the --allow-file-access-from-files flag from the command line when opening chrome to be able to use getUserMedia from a local file system.

提交回复
热议问题