ihmpavel / expo-video-player

Customizable Video Player controls for Expo
https://npm.im/expo-video-player
MIT License
201 stars 111 forks source link

When full screen mode is on, it does not overlay the whole UI #839

Open mbareeva opened 9 months ago

mbareeva commented 9 months ago

Currently it looks like this when entering the full screen mode:

https://github.com/ihmpavel/expo-video-player/assets/38938392/ffa86822-a476-4f28-bb51-4e72ef437cb5

I want it to look like in expo-av pakage when the full screen overlays the UI.:

https://github.com/ihmpavel/expo-video-player/assets/38938392/2f99db3b-c502-4432-a605-b2aa43dc71b0

Did someone encounter this issue? I set up width and height for a full screen in style prop for VideoPlayer but still it does not work as expected. Tried out different options for resizeMode but did not change anything

height: inFullscreen ? Dimensions.get('window').height : 160,
width: inFullscreen ? Dimensions.get('window').width : 350,

Thank you!

Originally posted by @mbareeva in https://github.com/ihmpavel/expo-video-player/discussions/838

Mitrandir-main commented 6 months ago

Same issue for me, did you resolve it?