We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Hi there,
we are trying to code our own website with p5.js. We need to access several .txt files, read them and display the text in the website. We also need to load our own fonts and assets. Sofar, something as simple as loading a .txt does ONLY work in Firefox. Loading fonts doesn't work in either browser. We are directly using the sample script from the reference: https://p5js.org/reference/#/p5/loadStrings
Any hints why this happens?
Thanks a lot!
Answers
@illpack -- Please provide more information.
@illpack - sounds like a FAQ. Are you testing on your local machine? If so you're subject to security restrictions on some browsers (Firefox being an exception). To cinfirm hit F12 and look for security warnings in Chrome...