Skip to content
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

VideoPlayer disappears on Android after closing the fullscreen mode #291

Open
bsumer-wyn opened this issue Feb 9, 2023 · 3 comments
Open

Comments

@bsumer-wyn
Copy link

Describe the bug
In a case that you render the video player in a flat list with multiple other items so that you would have to scroll down to see the video player, when you go full screen, and close the fullscreen view, flatlist scrolls you back to the top of the list, and when you scrollback to where the video player supposed to be, you find it is gone, the view that renders the videoplayer is there with white background, but the video player itself disappears.

To Reproduce
1-Render the player in a flatlist with multiple items that the videoplayer should be down in the list so you scroll to it.
2-Play the video and go to fullscreen mode, close the fullscreen mode.
3-Video frame disappears from the list only the background left.

Expected behavior
Videoframe should still be visible in the flatlist.

Screenshots

Copy.of.Untitled.mp4

Smartphone (please complete the following information):

  • Device: [Samsung S10+]
  • OS + version: [Android 12]
  • react-native-youtube-iframe version 2.2.2
  • react-native-webview version 11.26.0
  • Expo verison [if using expo] React Native Bare 0.68.5

Additional context
This only happens on android devices. iOS is fine. And if you have lets say 2 videoframes in the flatlist, after the first one disappears, you try to take the same steps on the second one, and it works perfectly, and doesn't disappear...

@PR-Here
Copy link

PR-Here commented Jul 5, 2023

Getting same issue in android 13

@G2-Rocha
Copy link

I have exactly the same issue. Any update on this? Possible fix?

@ihorkolucky
Copy link

Same issue on Android, when you fix it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants
@ihorkolucky @PR-Here @bsumer-wyn @G2-Rocha and others