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

[BUG]: Fullscreen (immersive mode) is automatically dismissed after video ends. #3703

Closed
LouShy opened this issue Apr 23, 2024 · 9 comments
Closed

Comments

@LouShy
Copy link

LouShy commented Apr 23, 2024

Version

v6 (Beta)

What platforms are you having the problem on?

Android

Architecture

Old architecture

What happened?

Fullscreen mode should not be automatically dismissed, or at least there should be an option (prop) to disable this behavior.
Currently I use repeat={true} to prevent this from happening.

References to related issues:
#2550
#2509

Reproduction

No response

Reproduction

When video ends, fullscreen (immersive mode) is dismissed and navigation bar appears.

@LouShy LouShy added the bug label Apr 23, 2024
@freeboub
Copy link
Collaborator

Do you use controls ?

@LouShy
Copy link
Author

LouShy commented Apr 23, 2024

@freeboub I'm not using controls (prop).

@mkbhdana
Copy link

i also faced this bug since long but switched to different alternate to avoid this issue

@ayushgkt
Copy link

Also facing this same issue. Activating again immersive onclose fixes it but its still glitchy to see navigation bar for sometime

@freeboub
Copy link
Collaborator

freeboub commented Apr 25, 2024

Hi, I found the root cause of this issue yesterday, I can also reproduce it in the sample.
Let's try to find the good fix (but not found yet).
Edit: wait I reproduce it in ios, not tested on android ...

@mkbhdana
Copy link

Hi, I found the root cause of this issue yesterday, I can also reproduce it in the sample. Let's try to find the good fix (but not found yet). Edit: wait I reproduce it in ios, not tested on android ...

on android have you kept repeat mode true or false

@seyedmostafahasani
Copy link
Collaborator

seyedmostafahasani commented Jul 15, 2024

@LouShy, @ayushgkt please update react-native-video to the latest version and test it again.

@LouShy
Copy link
Author

LouShy commented Jul 15, 2024

@seyedmostafahasani I tried updated version, it works fine now, without exiting after video ends.

@seyedmostafahasani
Copy link
Collaborator

@freeboub @KrzysztofMoch I think we can close this issue.

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

No branches or pull requests

6 participants