Text in the UI? If you're using a canvas, that's my one weakness with this method. UI doesn't scale at all since it bypasses screen effects. Normally that's what you want but it ends up screwing things up in this case. I ended up having to use a transparent render texture with my UI elements on it.
https://tylercode.itch.io/davinci/devlog/93800/davinci-day-7
In this post I talk about the UI being a problem. I don't have a perfect solution yet but when I do, I'll post it here for sure. I know some other people on the discord have been struggling with text too.
As far as player settings I've just changed the web player window to 640x640