iPhone 13 Pro Max iOS 17.3.1 camera video mode shows black screen but photos works normal. Also black screen when playing iPhone recorded videos except audio is fine

Let's try this again!

I opened my camera quick when I saw some cool car and tried to get a video but the screen was black. Switched to camera and it showed normal but I didn’t get a picture when I wanted to ASAP.

Also tried playing some iPhone recorded videos on Photos and the audio was there but the screen was black. Still showed the thumbnail of the videos.