-
Notifications
You must be signed in to change notification settings - Fork 153
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 not visible on Android #26
Comments
Hi @LonelyCpp I managed to make it work for Android using WebView. The UI is not great compared to your native solution (on iOS looks fantastic) and I don't seem to have a lot of flexibility like autoplay or fullscreen. Maybe I'm not experience enough with WebView. This is my code within the Modal...
Thanks |
Also having this issue on a Pixel 3a running Android 10. I'm using |
Here's a sample screen with the video in a modal. Try it and let me know if it works. (video on a modal is a major feature of this library, I want it to work flawlessly) Tested on a oneplus 5 running android 10.
I believe you guys are trying to place the player in a container with style set to -
In this case, the webview is incorrectly rendered in android (a limitation of the android webview unfortunately). A set width value, or |
This just happened to me as well. Everything worked well on iOS, but on Android I could only hear the audio but not see the video once I pressed play. This happened both on emulators and on physical devices. After much trial and error, I realized I was setting the
|
@butri71 found any solution for the issue ? i am facing the same issue in android the video is not showing up only the audio plays |
@sidVaidya I don't have a problem with the video or sound. i believe @aryella-lacerda have found a solution to your problem, check her answer above. I have a problem when watching the video in a fullscreen mode, the screen suddenly blurs (like adding a transparent layer on top) but video keeps playing normally. I'm wrapping my player in a Modal though. |
In my case, removing |
Thank You!!! @aryella-lacerda. |
worked for me. |
The player is launched by clicking on a thumbnail in my React Native app (I'm using Expo) and works perfectly fine in iOs.
As soon as I click the video loads and starts playing as expected.
On Android, everything works the same but I can only hear the sound therefore the video is played but it is not visible.
Are you aware of any issues? Any recommended fixes?
Thanks
The text was updated successfully, but these errors were encountered: