-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Video positioning on Android #2046
Comments
it looks like you're not using Exoplayer... The seeker bar is white with Exo, green with MediaPlayer. The video size is fine for me on latest master and Exoplayer |
Forgive my ignorance but how do we define which player to use? Can't see anything in the docs... |
Check under https://github.com/react-native-community/react-native-video#android-installation
|
Perfect. Thanks for your help. I'll try it in a bit. |
Ah it could have been due to the js fullscreen hack. I just merged this PR to master, can you try to replicate using the latest master version? |
Good news; nope I can't. Cloned the repo and it's working perfectly fine now. |
Woop woop 🙌 |
add |
Bug
Video not centred vertically & horizontally on Android. Regardless of using flex or absolute positioning. Same behaviour when rotating the orientation as well.
It works perfectly fine on iOS and version 4.4.5. You can replicate the problem on v5+.
Platform
Environment info
react-native: 0.61.5
Android: 9 & 10
Library version: 5.0.0+
Steps To Reproduce
Expected behaviour
Reproducible sample code
Video sample
Version 4.4.5:
Version: 5.0.2
Version: 5.0.2 on iOS
The text was updated successfully, but these errors were encountered: