kesiev / rewtro

Papercraft videogame cartridges you can print and pirate with a copy machine.
MIT License
329 stars 7 forks source link

Unable to use "Load from QR" on desktop #4

Closed pixelbath closed 2 years ago

pixelbath commented 4 years ago

When pressing the "Load QR-Cart" button, the browser grays out the screen and will not allow me to close the popup. The browser does not prompt for use of the host camera.

Errors on Chrome: image

Error on Firefox: image

OS: Windows 10 Browser: Chrome (latest), Firefox (latest)

kesiev commented 4 years ago

I'm testing the https://www.kesiev.com/rewtro instance on Windows 10 Home, using Chrome 79.0.3945.117 and Firefox 72.0.1. Both browsers says that there aren't any updates. When opening the Rewtro camera, it asks for permission and, once accepted, it works normally.

Denied permissions are still unhandled and crashes Rewtro the way you are saying- I'll give a shot to that feature ASAP - but the permission denied console error gives a different error:

Chrome: (index):1 Uncaught (in promise) DOMException: Permission denied Firefox: uncaught exception: Object

Reading your errors looks like the whole mediaDevices object is missing or different.

Am I missing some detail? Are we using the same browser version? Are you using any plugin?

pixelbath commented 4 years ago

It looks like we're using the same browser versions. I don't have camera access explicitly blocked for any websites. I do use uBlock Origin, but disabling that has no effect. I'll experiment with it on my side and see if I can figure out what's going on.

kesiev commented 2 years ago

Closing this issue for its ~2yrs birthday ;)