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

How can I make video keep playing when phone screen being blocked? #373

Open
lofti198 opened this issue Sep 9, 2022 · 5 comments
Open

Comments

@lofti198
Copy link

lofti198 commented Sep 9, 2022

I use component in my webapp from mobile. However when screen is blocked, the video pauses. Any ideas how to avoid this?

@ruisaraiva19
Copy link
Collaborator

@lofti198 not sure what you mean by "screen is blocked", can you elaborate a bit more, please?

@lofti198
Copy link
Author

@lofti198 not sure what you mean by "screen is blocked", can you elaborate a bit more, please?

Just when the screen gets locked when you don't use it for some period of time.

@ruisaraiva19
Copy link
Collaborator

@lofti198 not sure what you mean by "screen is blocked", can you elaborate a bit more, please?

Just when the screen gets locked when you don't use it for some period of time.

I think that's the way browsers work on mobile devices. So, I don't think there is a way to keep playing with locked screen, browser app on the background, etc.

@lofti198
Copy link
Author

By the way, can I use this component to create Android app with react native?

@ruisaraiva19
Copy link
Collaborator

By the way, can I use this component to create Android app with react native?

Yes

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

2 participants