-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Android: vertical videos (tall native aspect ratio) are displayed incorrectly #948
Comments
Some more background: this issue happens for an emulator of Android API 26 (Pixel). |
Any chance you can provide a video that doesn't work. I've tested: We recently updated from ExoPlayer 2.4.0 to 2.7.3 and before merging a fix, I want to make sure there's still a problem. Plus I need to test to make sure the fix works :) |
Looks like it works now with the latest exoplayer -- thank you! |
This is not working with 4.4.5 |
I'm seeing this for both the default react-native-video (Android’s MediaPlayer API) and react-native-video-exoplayer (even with PR #842 -- I still see this issue).
For tall native aspect ratio videos (height > width, .mp4 files in my case), Android seems to transform my video (height becomes width, width becomes height, pixels are remapped to look like it's rotated). This happens with all resizeMode settings and all style sizes (I happen to have a full screen component in my screenshots, but it consistently happens regardless of component sizes).
This library works perfectly fine for wide native aspect ratio videos (width > height).
Screenshot of Android API 26 (Pixel) showing this problem:
Screenshot of iOS 11.2 (iPhone SE) with no issues:
The text was updated successfully, but these errors were encountered: