Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why there is no "always allow" option in Firefox when using `getUserMedia`?

I'm using getUseMedia function in my app. Every time I open Firefox permission popup appears. There is no always allow option.

enter image description here

According to the Bugzilla the feature is already implemented at Firefox 30 - current version is 43.

I'm using getUserMedia like this:

    navigator.getUserMedia = (navigator.getUserMedia ||
    navigator.webkitGetUserMedia ||
    navigator.mozGetUserMedia ||
    navigator.msGetUserMedia);

Is it right? Why I can't select allow always option?

like image 671
ironsand Avatar asked Dec 31 '15 22:12

ironsand


People also ask

Why is Firefox not playing videos?

How can I fix, Firefox not playing the videos? Try clearing the cache files and updating the Firefox. If this does not fix your problem, try disabling the extensions and enabling autoplay. If that still doesn't work, then reset Firefox.


1 Answers

As you seem to have discovered, Firefox, like Chrome purposefully disallows this functionality without HTTPS.

Mozilla's tests are a great source for answers around desired behavior, in this case: "'Always Allow' ignored and not shown on http pages"

like image 71
Thai Wood Avatar answered Oct 07 '22 14:10

Thai Wood