Søg i Support

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.

Learn More

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

  • 6 svar
  • 1 har dette problem
  • 14 visninger
  • Seneste svar af Avigdor

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!

Valgt løsning

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).

Læs dette svar i sammenhæng 👍 1

Alle svar (6)

more options

Valgt løsning

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).

Nyttig?

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.

Nyttig?

more options

Do you want to share your solution?

Nyttig?

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

Nyttig?

more options

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

Nyttig?

more options
  • Deleted*

Ændret af Avigdor den

Nyttig?

Stil et spørgsmål

Du skal logge ind på din konto for at svare på et indlæg. Start et nyt spørgsmål, hvis du ikke har en konto endnu.