p5.ble.js icon indicating copy to clipboard operation
p5.ble.js copied to clipboard

Cannot use examples in p5 web editor

Open lorenzoromagnoli opened this issue 3 years ago • 1 comments

Trying to use the examples in the p5 web editor I constantly get an error:

Error: SecurityError: requestDevice() called from cross-origin iframe.

the examples code work fine if I run them locally.

lorenzoromagnoli avatar Nov 28 '21 08:11 lorenzoromagnoli

I had the same issue. I think this has to do with increased security from the browser. You can still run in locally with something like VS Code and run on a local website with the Live Server extension, but it would be great to use it as before.

corvanessen avatar Feb 11 '22 15:02 corvanessen