[BUG]: White spaces appear at the top and bottom of the screen after clicking the full-screen button in the video controls on Android
ng-ha opened this issue · comments
Version
6.2.0
What platforms are you having the problem on?
Android
System Version
Android 13.0 API 33
On what device are you experiencing the issue?
Real device, Simulator
Architecture
Old architecture
What happened?
White spaces appear at the top and bottom of the screen after clicking the full-screen button in the video controls on Android, then exit the full-screen mode.
Screen.Recording.2024-06-20.at.11.09.02.mov
Reproduction
No response
Reproduction
Step to reproduce this bug are: Click button fullscreen then exit fullscreen mode,
<Video
source={{
uri: 'https://sample-videos.com/video321/mp4/720/big_buck_bunny_720p_5mb.mp4',
}}
resizeMode="contain"
style={{flex: 1}}
controls
muted
/>
@ng-ha, can you use width and height instead of flex? For example: style={{width: SCREEN_WIDTH, height: 300}}