Is there somewhere or is there any of them, a working example of the Firefox addon (made using the Firefox firefox admin using HTML / CSS / JS), where the camera is accessed and displayed using HTML5 (using getUserMedia) in a panel.
If we try to access the camera when the add-on panel is closed, we get an error here: https://bugzilla.mozilla.org/show_bug.cgi?id=1007817
I can confirm that I also received this error.
However, if I try to access the camera when the panel is open (for example, when I click the button inside this panel), Firefox asks if I want to share my camera, so it seems to work, but unfortunately my Element <video> does not display anything on my panel, and the camera does not have access (no notification in Firefox that the camera is in use, and my hardware LED on my laptop, indicating that the camera is available, remains off). And I have no error in cfx console.
source share