Merge pull request #1020 from react-native-community/feature/exoplayer-fullscreen

Forgot to include comment about disabling ExoPlayer fullscreen
This commit is contained in:
Hampton Maxwell
2018-05-17 16:21:14 -07:00
committed by GitHub

View File

@@ -222,6 +222,7 @@ To see full list of available props, you can check [the propTypes](https://githu
// Later to enable fullscreen UI mode (ExoPlayer only). Combine with setting the style to be height & width from Dimensions.get('screen')
this.player.presentFullscreenPlayer()
// Disable fullscreen UI mode
this.player.dismissFullscreenPlayer()
// Later on in your styles..
var styles = Stylesheet.create({