This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

ค้นหาฝ่ายสนับสนุน

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

เรียนรู้เพิ่มเติม

Firefox don't ask microphone and camera permission when in iFrame

  • 7 การตอบกลับ
  • 3 คนมีปัญหานี้
  • 1 ครั้งที่ดู
  • ตอบกลับล่าสุดโดย igulina

more options

Hello,

When a page inside <iframe> request permission of using microphone or camera, the firefox don't ask permission (the asking permission panel don't show up!), below is an example:

if you directly open https://meet.jit.si/test123 in firefox, the Firefox will ask microphone and camera permission from the user but if you open https://test.spacex.ml/ which put https://meet.jit.si/test123 in an iframe then FIrefox don't ask any permission and refuse user to use microphone and camera!

Please help, thanks!

Hello, When a page inside <iframe> request permission of using microphone or camera, the firefox don't ask permission (the asking permission panel don't show up!), below is an example: if you directly open https://meet.jit.si/test123 in firefox, the Firefox will ask microphone and camera permission from the user but if you open https://test.spacex.ml/ which put https://meet.jit.si/test123 in an iframe then FIrefox don't ask any permission and refuse user to use microphone and camera! Please help, thanks!

วิธีแก้ปัญหาที่เลือก

This is true for cross-site iframes (i.e., not the identical origin). Several versions ago, the developers turned off the notification panel in that scenario because it was confusing regarding what site was getting permission. This is why Hangouts wouldn't work embedded in Gmail, for example.

I don't know whether there is a workaround (besides giving Firefox users a link to open the framed page in a new window or tab).

อ่านคำตอบนี้ในบริบท 👍 1

การตอบกลับทั้งหมด (7)

more options

วิธีแก้ปัญหาที่เลือก

This is true for cross-site iframes (i.e., not the identical origin). Several versions ago, the developers turned off the notification panel in that scenario because it was confusing regarding what site was getting permission. This is why Hangouts wouldn't work embedded in Gmail, for example.

I don't know whether there is a workaround (besides giving Firefox users a link to open the framed page in a new window or tab).

more options

jscher2000 said

This is true for cross-site iframes (i.e., not the identical origin). Several versions ago, the developers turned off the notification panel in that scenario because it was confusing regarding what site was getting permission. This is why Hangouts wouldn't work embedded in Gmail, for example. I don't know whether there is a workaround (besides giving Firefox users a link to open the framed page in a new window or tab).

Thanks, I solved the problem.

more options

Do you want to share your solution?

more options

I setup my own short url service on my domain, then use it as the src in iframe to make parent domain and the domain in iframe is same

more options

Or you can create a simple PHP file that do the redirect

more options
  • Deleted*

เปลี่ยนแปลงโดย Avigdor เมื่อ

more options

gamingtips said

I setup my own short url service on my domain, then use it as the src in iframe to make parent domain and the domain in iframe is same

Does this solution really work? I mean, even if you do that, in the end you are embedding a "meet.jit.si" iframe that has another domain, and it's precisely that iframe that needs the camera and microphone permissions.

How did you make it work? Can you explain your solution in more detail? Thanksss