-
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
[BUG]: Android: The old video on the screen is displayed in the new video in the modal #4051
Comments
@forchello you can use the |
I think the problem is different, namely that the old source (along with time and other parameters) remains in the new component. Please look at the video, there in the red modal you can see the old video from the yellow screen. |
@forchello is it possible to share a git repo with your sample please ? |
Hi, I will create a repository for you one of these days where you can see the problem. Regarding shutterColor, I added it because I wanted to fix issue #4045 at that time. |
Repository for you where you can reproduce this issue https://github.com/forchello/VideoTest |
P.S. if you remove shutterColor="transparent" from modal component - it`s fix the issue, but what about black screen until video fully loaded? |
Thank you for the sample ! In fact, after opening the modal, you have 2 video playback in parallel (one in HomeScreen and one in VideoModalTest).
Then the screen is totally unmounted and the first video is not display anymore (video decoder are released, less RAM consumption, ...). I think this is fixing the issue in the sample. Can you try this solution in your app please ? |
Version
6.4.3
What platforms are you having the problem on?
Android
System Version
android 12+
On what device are you experiencing the issue?
Real device
Architecture
Old architecture
What happened?
I noticed that when I use screen video and call modalfy ( react-native-modalfy ) with the same video, I see the screen video on modal ( with dimensions from the screen ). This goes on for a few seconds. When I close the modal, the opposite situation happens
yellow is screen, red is modal
2024-08-02.16.38.32.mp4
Reproduction
repository link
Reproduction
Step to reproduce this bug are:
It is important that the video on the modal be at the same coordinates as the video on the screen
Code of the component:
Code of the modal:
The text was updated successfully, but these errors were encountered: