WIP Do not merge but try out!
The more I thought about it the more I agreed with @FredyHennig that we need fixed bounds for our screen. I did this here and it works well. However, I had some inconsitent setting in my project which now make much more sense, which I would like to share.
In the game view we set the resolution to 16:9
In project settings it was set to 16:10, so make sure that Player --> Presentation is 1280x720 for webgl
If you then build the project, this should work out!
I was also very confused that the view of my main screen never fit to its view in the player: This can be done clicking on the main menu scene, and in the game view under 16:9 uncheck "low resolution aspect ratios", instead check (VSync (GameView only) which can be unchecked again. Don't know what the latter does. Then, my main menu looks exactly like it appears on the web.
WIP Do not merge but try out! The more I thought about it the more I agreed with @FredyHennig that we need fixed bounds for our screen. I did this here and it works well. However, I had some inconsitent setting in my project which now make much more sense, which I would like to share.