You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1
Original file line number
Diff line number
Diff line change
@@ -9,6 +9,7 @@
9
9
- Added `preferredForwardBufferDuration` (iOS) - the duration the player should buffer media from the network ahead of the playhead to guard against playback disruption. (#1944)
10
10
- Added `currentPlaybackTime` (Android ExoPlayer, iOS) - when playing an HLS live stream with a `EXT-X-PROGRAM-DATE-TIME` tag configured, then this property will contain the epoch value in msec. (#1944)
11
11
- Added `trackId` (Android ExoPlayer) - Configure an identifier for the video stream to link the playback context to the events emitted. (#1944)
12
+
- Reverted the JS fullscreening for Android. [#2013](https://github.com/react-native-community/react-native-video/pull/2013)
Copy file name to clipboardExpand all lines: README.md
+1-3
Original file line number
Diff line number
Diff line change
@@ -455,7 +455,7 @@ Controls whether the player enters fullscreen on play.
455
455
***false (default)** - Don't display the video in fullscreen
456
456
***true** - Display the video in fullscreen
457
457
458
-
Platforms: iOS, Android Exoplayer
458
+
Platforms: iOS
459
459
460
460
#### fullscreenAutorotate
461
461
If a preferred [fullscreenOrientation](#fullscreenorientation) is set, causes the video to rotate to that orientation but permits rotation of the screen to orientation held by user. Defaults to TRUE.
@@ -468,8 +468,6 @@ Platforms: iOS
468
468
***landscape**
469
469
***portrait**
470
470
471
-
Note on Android ExoPlayer, the full-screen mode by default goes into landscape mode. Exiting from the full-screen mode will display the video in Initial orientation.
//androidFullScreen property will only impact on android. It will be always false for iOS.
346
-
constvideoStyle=this.state.androidFullScreen ? {
347
-
position: 'absolute',
348
-
top: 0,
349
-
left: 0,
350
-
width: this.width,
351
-
height: this.height,
352
-
backgroundColor: '#ffffff',
353
-
justifyContent: 'center',
354
-
zIndex: 99999,
355
-
marginTop: -1*(this.state.videoContainerLayout_y ? parseFloat(this.state.videoContainerLayout_y) : 0),//margin: 0 - is not working properly. So, updated all the margin individually with 0.
0 commit comments