I dont know if this is the correct place but I have been searching google, unity forums and reddit with no success.
I have made a game in unity WebGL, hosted it in itch.io and in my own webpage. When browsing on PC works fine but if I load from mobile it doesnt resize well when rotating the screen between landscape or portrait. I have done it in two ways, using an iframe to contain the game just freezes when rotating, and using a direct link to the WebGL index leaves the screen split in half when rotating.
The thing is, when I enter Itch.io from mobile, the game loads straight in landscape and never changes.
Anyone knows how can I replicate this on my web?