React-native-video: exit fullscreen programatically

Created on 29 May 2017  路  3Comments  路  Source: react-native-video/react-native-video

Is there a way to exit full screen programatically?

this.player.presentFullscreenPlayer() only goes in full screen, but does not exit it

Most helpful comment

Is there an event that will fire when physically exiting the FullscreenPlayer

All 3 comments

this is late response, but for someone who will need it later, you can use this.player.dismissFullscreenPlayer()

Is there an event that will fire when physically exiting the FullscreenPlayer

@JF-13 look at the props in the README, there are events for both entering and leaving fullscreen.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

wang777777 picture wang777777  路  3Comments

jmrhvl picture jmrhvl  路  3Comments

zachrnolan picture zachrnolan  路  3Comments

Yarkhan picture Yarkhan  路  3Comments

nachumFreedman picture nachumFreedman  路  3Comments