I'm using local files, and I heard someone else was having a similar problem from that. I'm using vite to host the project. https://github.com/STPv22/tetris-experiments/tree/master/webcam-tetris