-
-
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
[Feature]: Add an option to disable the dark overlay when controls are visible (Android) #4384
Comments
Thanks for the feature request! Check out our roadmap here. If your request is already there – great! If not, give us some time, and we'll get back to you with information on when TheWidlarzGroup can address it as part of our free open-source support. Alternatively, contact us to discuss ways to speed up the process. |
While we wait for this to be added, I found a workaround for those who need it now (like me):
Before:
After:
EditMake sure you add a patch script in your
|
Thank you, @rohitbindal. That works, and is super helpful! |
Great, I also found a way to implement this natively. So, I can work on this feature if needed. @valeriiamykhalova I have updated my previous comment to add the patch script. This will ensure the patch is applied every time some runs |
@rohitbindal Great! Having it in one of the upcoming releases would be nice if you have time for PR. I appreciate your help! |
another patch can be done in your app. |
I push a PR to clarify the feature. It makes sense to remove it on master branch as the behavior is not coherent between android & ios |
Description
When controls are visible, the current dark overlay is quite intense on Android. When a video starts playing in fullscreen, the controls are automatically shown for the first ~5 seconds with this dark overlay, making the content barely visible for users with low brightness settings on their phones. It would be great to have an option to disable this dark overlay or make it lighter, similar to how the native Android gallery video player looks.
With controls (and overlay):
Why it is needed ?
We're migrating from expo-av which doesn't have this overlay at all. So, having the option to disable this would help provide a consistent experience for developers migrating from expo-av. In addition, it adds more flexibility to match the native Android gallery player user experience.
Possible implementation
No response
Code sample
It might be added to
controlsStyles
prop:The text was updated successfully, but these errors were encountered: