Skip to content
This repository has been archived by the owner on May 18, 2020. It is now read-only.

No background overlay appeared in version 2.0.3 #14

Closed
ljfreelancer88 opened this issue Feb 12, 2019 · 8 comments
Closed

No background overlay appeared in version 2.0.3 #14

ljfreelancer88 opened this issue Feb 12, 2019 · 8 comments
Labels
enhancement New feature or request

Comments

@ljfreelancer88
Copy link

ljfreelancer88 commented Feb 12, 2019

I tried both Asus and LG phone but the background overlay is not working when I tap play and pause of video.

@ljfreelancer88 ljfreelancer88 changed the title No background overlay appeared in version 2.0.2 No background overlay appeared in version 2.0.3 Feb 12, 2019
@sarbagyastha
Copy link
Owner

@ljfreelancer88 could you provide me with code snippet, how you're implementing background overlay ?

@ljfreelancer88
Copy link
Author

ljfreelancer88 commented Feb 14, 2019

I just added the controlsBackgroundColor: Color.fromRGBO(255, 0, 0, 0.7) in VideoPlayer. I'm expecting a background that covers all the screen with less opacity but the result is, the background is only for controller.

The behavior in YouTube. If you tap the pause on the screen. It will have a black background with less opacity. It will not disappear unless you tap and play again the video. :)

@sarbagyastha
Copy link
Owner

@ljfreelancer88 Added on new version.

@ljfreelancer88
Copy link
Author

Is it 3.1.0 or ^3.0.1? :) Because I can't install when I use your 3.1.0 version but it works when I use the 3.0.1 version.

@sarbagyastha
Copy link
Owner

@ljfreelancer88 currently working on 3.1.0, it's not yet published to Dart Pub.

@sarbagyastha
Copy link
Owner

sarbagyastha commented Feb 19, 2019

@ljfreelancer88 Uploaded it on pub, you can now use v3.1.0

@sarbagyastha sarbagyastha added the enhancement New feature or request label Feb 19, 2019
@ljfreelancer88
Copy link
Author

Thank you so much. Based on the new update. These are my observation based on UI perspective.

  1. When i pause the video, the background overlay appeared but in just a few seconds it will disappear. The background overlay should remain, until it presses again the play.
  2. Since you have now the "double tap" for forward and backward, it would be better to show also an icon for that when I press the play/pause so that the user(kids, old folk or non-tech user) will know the feature. :)

@sarbagyastha
Copy link
Owner

Thank you for your feedbacks. 😊 In next update timeOut for controls/overlay property will be added. As per the second point, you could notify user with the feature as Youtube does. Also there is a press-n-hold gesture to get to fullscreen.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants