I’m seeing a white margin during fullscreen landscape mode on the Pixel 4 and am wondering if there’s a way to set the colour of this margin from white to black, or even better scale the screen fully to the full width of the screen as seen for example during fullscreen landscape video playback on YouTube?
Yes, I see that even on a successful fullscreen request the white margin appears on the opposite side of the nav bar on Pixel 4a, this can be seen via the Android Studio emulator as well. My Pixel 2 seems fine.
I also note that even with Dark Theme turned on in Android Settings, the white bar remains white, but the nav bar is correctly coloured dark.
Setting this white margin to be black would be ok, but I’m not quite sure how I might get to that style level…
A Pixel 2 doesn’t have a notch for the front facing camera. It looks like this is an OS level setting and there’s little that we can do at the browser level besides detecting if the OS is in a light or dark theme.