Loading README.md +21 −2 Changes for README.md: 21 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -233,7 +233,6 @@ import Video from 'react-native-video'; this.player = ref }} // Store reference onBuffer={this.onBuffer} // Callback when remote video is buffering onEnd={this.onEnd} // Callback when playback finishes onError={this.videoError} // Callback when video cannot be loaded style={styles.backgroundVideo} /> Loading @@ -253,6 +252,7 @@ var styles = StyleSheet.create({ * [allowsExternalPlayback](#allowsexternalplayback) * [audioOnly](#audioonly) * [bufferConfig](#bufferconfig) * [controls](#controls) * [ignoreSilentSwitch](#ignoresilentswitch) * [muted](#muted) * [paused](#paused) Loading @@ -274,6 +274,7 @@ var styles = StyleSheet.create({ ### Event props * [onAudioBecomingNoisy](#onaudiobecomingnoisy) * [onEnd](#onend) * [onFullscreenPlayerWillPresent](#onfullscreenplayerwillpresent) * [onFullscreenPlayerDidPresent](#onfullscreenplayerdidpresent) * [onFullscreenPlayerWillDismiss](#onfullscreenplayerwilldismiss) Loading Loading @@ -330,6 +331,15 @@ bufferConfig={{ Platforms: Android ExoPlayer #### controls Determines whether to show player controls. * ** false (default)** - Don't show player controls * **true** - Show player controls Note on iOS, controls are always shown when in fullscreen mode. Platforms: DOM, iOS #### ignoreSilentSwitch Controls the iOS silent switch behavior * **"inherit" (default)** - Use the default AVPlayer behavior Loading Loading @@ -611,6 +621,13 @@ Payload: none Platforms: Android ExoPlayer, iOS #### onEnd Callback function that is called when the player reaches the end of the media. Payload: none Platforms: all #### onFullscreenPlayerWillPresent Callback function that is called when the player is about to enter fullscreen mode. Loading Loading @@ -722,6 +739,8 @@ Example: } ``` Platforms: all #### onTimedMetadata Callback function that is called when timed metadata becomes available Loading Loading @@ -767,7 +786,7 @@ this.player.dismissFullscreenPlayer(); Platforms: Android ExoPlayer, Android MediaPlayer, iOS #### FullscreenPlayer #### presentFullscreenPlayer `presentFullscreenPlayer()` Put the player in fullscreen mode. Loading Loading
README.md +21 −2 Changes for README.md: 21 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -233,7 +233,6 @@ import Video from 'react-native-video'; this.player = ref }} // Store reference onBuffer={this.onBuffer} // Callback when remote video is buffering onEnd={this.onEnd} // Callback when playback finishes onError={this.videoError} // Callback when video cannot be loaded style={styles.backgroundVideo} /> Loading @@ -253,6 +252,7 @@ var styles = StyleSheet.create({ * [allowsExternalPlayback](#allowsexternalplayback) * [audioOnly](#audioonly) * [bufferConfig](#bufferconfig) * [controls](#controls) * [ignoreSilentSwitch](#ignoresilentswitch) * [muted](#muted) * [paused](#paused) Loading @@ -274,6 +274,7 @@ var styles = StyleSheet.create({ ### Event props * [onAudioBecomingNoisy](#onaudiobecomingnoisy) * [onEnd](#onend) * [onFullscreenPlayerWillPresent](#onfullscreenplayerwillpresent) * [onFullscreenPlayerDidPresent](#onfullscreenplayerdidpresent) * [onFullscreenPlayerWillDismiss](#onfullscreenplayerwilldismiss) Loading Loading @@ -330,6 +331,15 @@ bufferConfig={{ Platforms: Android ExoPlayer #### controls Determines whether to show player controls. * ** false (default)** - Don't show player controls * **true** - Show player controls Note on iOS, controls are always shown when in fullscreen mode. Platforms: DOM, iOS #### ignoreSilentSwitch Controls the iOS silent switch behavior * **"inherit" (default)** - Use the default AVPlayer behavior Loading Loading @@ -611,6 +621,13 @@ Payload: none Platforms: Android ExoPlayer, iOS #### onEnd Callback function that is called when the player reaches the end of the media. Payload: none Platforms: all #### onFullscreenPlayerWillPresent Callback function that is called when the player is about to enter fullscreen mode. Loading Loading @@ -722,6 +739,8 @@ Example: } ``` Platforms: all #### onTimedMetadata Callback function that is called when timed metadata becomes available Loading Loading @@ -767,7 +786,7 @@ this.player.dismissFullscreenPlayer(); Platforms: Android ExoPlayer, Android MediaPlayer, iOS #### FullscreenPlayer #### presentFullscreenPlayer `presentFullscreenPlayer()` Put the player in fullscreen mode. Loading