搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

cant access webcam from javascript

  • 1 回覆
  • 1 有這個問題
  • 2 次檢視
  • 最近回覆由 ericalbers

more options

I'm trying to get a frame from my javascript page, Chrome works fine from 127.0.0.1, but firefox keeps saying needs permission.

I clicked on the little world icon and set the permissions, I set Use the Camera to Allow

Indeed now when I'm on 127.0.0.1, I can click on the world icon and it says Permissions: Use the Camera Allow is set in the pulldown.

Still complains with

Error: Could not access webcam: PermissionDeniedError: The user did not grant permission for the operation

Most importantly, I need this to work on my domain, which does NOT have HTTPS, its for a school group, its just a little personal domain, not going through the trouble of getting https for it. HELP! Does firefox allow web access from non-https sites??? I know chrome is broken and does not, but as I said, this is to assist a elementary school project, and going through the https thing simply means the kids miss out on setting up a web cam to watch their fish hatchery.

I'm trying to get a frame from my javascript page, Chrome works fine from 127.0.0.1, but firefox keeps saying needs permission. I clicked on the little world icon and set the permissions, I set Use the Camera to Allow Indeed now when I'm on 127.0.0.1, I can click on the world icon and it says Permissions: Use the Camera Allow is set in the pulldown. Still complains with Error: Could not access webcam: PermissionDeniedError: The user did not grant permission for the operation Most importantly, I need this to work on my domain, which does NOT have HTTPS, its for a school group, its just a little personal domain, not going through the trouble of getting https for it. HELP! Does firefox allow web access from non-https sites??? I know chrome is broken and does not, but as I said, this is to assist a elementary school project, and going through the https thing simply means the kids miss out on setting up a web cam to watch their fish hatchery.

所有回覆 (1)

more options

image attached