-
Notifications
You must be signed in to change notification settings - Fork 524
Transparent view sometimes when play video with Jetpack Compose #2304
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
Comments
I have found temporary fix, to set player in player view with delay 100 milliseconds:
|
I copied your original snippet without the delay in a sample app and can't observe any issues. I'm also not sure how a "transparent view" would look like in this case. Is there no video at all or something else? For the type of integration you are using, I'd would also recommend to use the Compose utils for playback in Media3. PlayerView within Compose isn't fully supported at the moment. |
Hey @GazimSoliev. We need more information to resolve this issue but there hasn't been an update in 14 weekdays. I'm marking the issue as stale and if there are no new updates in the next 7 days I will close it automatically. If you have more information that will help us get to the bottom of this, just add a comment! |
Since there haven't been any recent updates here, I am going to close this issue. @GazimSoliev if you're still experiencing this problem and want to continue the discussion just leave a comment here and we are happy to re-open this. |
Version
Media3 1.6.0
More version details
I got transparent view when play video in Jetpack Compose sometimes
Devices that reproduce the issue
Samsung SM-X210 Android 14.0
Devices that do not reproduce the issue
No response
Reproducible in the demo app?
Not tested
Reproduction steps
It's hard to reproduce, but it happens when I change between video and different composable component.
But I have a code of video player in compose
Expected result
Play videos without transparent view
Actual result
Videos play with transparent view
Media
Any video, loaded from file system
Bug Report
adb bugreport
to android-media-github@google.com after filing this issue.The text was updated successfully, but these errors were encountered: