THEOplayer / react-native-theoplayer

A React Native THEOplayerView component
https://theoplayer.github.io/react-native-theoplayer/
MIT License
65 stars 21 forks source link

Bugfix/prevent presentation mode reset #297

Closed wvanhaevre closed 7 months ago

wvanhaevre commented 7 months ago

This PR resolves a layouting issue when the player starts in an inline setup and moves to fullscreen. When switching the source, the player stays in fullscreen mode, but the THEOplayerView resets the presentationMode to inline, and renders the player as such (i.e. the original inline dimensions, but still on top of the viewStack)