QR Scanner using Javascript-Python

Hi there

This looks great, except I’m getting the following error on both safari and firefox on iphone:

NotAllowedError : The request is not allowed by the user agent or the platform in the current context.

Any ideas?