为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Is there ANY way to allow webcam over HTTP?

  • 4 个回答
  • 1 人有此问题
  • 3 次查看
  • 最后回复者为 Amber

more options

I am hosting a test website on a test domain which does not support HTTPS. In Chrome/Chromium, it is possible to forcefully "trust" an insecure (HTTP) domain name and temporarily allow it access to webcam, microphone, etc. It does not appear to be possible in Firefox. I've searched the about:config and even tried editing the configuration files directly to try and whitelist my test domain. I am not able to setup SSL or TLS on the server it is hosted on, and I need to be able to access the page on other devices. It does seem to allowlist "localhost" since I guess it's trusted by default. If there is any way to temporarily or permanently allowlist an HTTP website, I will be able to use my website on Firefox instead of Chromium, which would be much preferred.

I am hosting a test website on a test domain which does not support HTTPS. In Chrome/Chromium, it is possible to forcefully "trust" an insecure (HTTP) domain name and temporarily allow it access to webcam, microphone, etc. It does not appear to be possible in Firefox. I've searched the about:config and even tried editing the configuration files directly to try and whitelist my test domain. I am not able to setup SSL or TLS on the server it is hosted on, and I need to be able to access the page on other devices. It does seem to allowlist "localhost" since I guess it's trusted by default. If there is any way to temporarily or permanently allowlist an HTTP website, I will be able to use my website on Firefox instead of Chromium, which would be much preferred.
已附加屏幕截图

所有回复 (4)

more options

You seem to have several questions. I will just deal with http v. https Look at Settings > Privacy > HTTPS-only mode. You can select the last option or the "Manage exceptions" one may work.

https://support.mozilla.org/kb/https-only-prefs

more options

Terry said

You seem to have several questions. I will just deal with http v. https Look at Settings > Privacy > HTTPS-only mode. You can select the last option or the "Manage exceptions" one may work. https://support.mozilla.org/kb/https-only-prefs

That will not fix the issue. My issue is that I cannot allow an HTTP site access to my webcam.

more options

I tried unsuccessfully to load your site. Is it available generally?

more options

Terry said

I tried unsuccessfully to load your site. Is it available generally?

No, I am hosting the website on a network server and assigned it to a domain name for devices on the network. Keep in mind that this has worked perfectly fine on Chrome and other Chromium-based browsers. Mozilla announced here that they require HTTPS for webcam access. I'm trying to find a workaround for this, whether it be an add-on or manually editing and recompiling Firefox to support it over HTTP. Chrome allows you to set a command-line flag to work around this behavior, but Firefox does not.