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
{{ message }}
This repository was archived by the owner on Feb 22, 2023. It is now read-only.
Copy file name to clipboardExpand all lines: packages/video_player/video_player_android/android/src/main/java/io/flutter/plugins/videoplayer/VideoPlayer.java
+8Lines changed: 8 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -304,6 +304,14 @@ void sendInitialized() {
304
304
}
305
305
event.put("width", width);
306
306
event.put("height", height);
307
+
308
+
// Rotating the video with ExoPlayer does not seem to be possible with a Surface,
309
+
// so inform the Flutter code that the widget needs to be rotated to prevent
310
+
// upside-down playback for videos with rotationDegrees of 180 (other orientations work
0 commit comments