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

I want change the button background #588

Closed
YeFei572 opened this issue Jul 3, 2021 · 2 comments
Closed

I want change the button background #588

YeFei572 opened this issue Jul 3, 2021 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@YeFei572
Copy link

YeFei572 commented Jul 3, 2021

How can I change the background of the control panel to transparent
image

Here is my code :

betterPlayerController = BetterPlayerController(
          BetterPlayerConfiguration(
            fit: BoxFit.fitHeight,
            autoPlay: true,
            subtitlesConfiguration: BetterPlayerSubtitlesConfiguration(),
            controlsConfiguration: BetterPlayerControlsConfiguration(
              enableMute: true,
              controlBarColor: Colors.transparent,
              controlBarHeight: 50.w,
              forwardSkipTimeInMilliseconds: 30000,
              backwardSkipTimeInMilliseconds: 15000,
              enablePlayPause: false,
              controlsHideTime: Duration(seconds: 1),
              playerTheme: BetterPlayerTheme.cupertino,
            ),
          ),
          betterPlayerDataSource: betterPlayerDataSource,
        );
@YeFei572 YeFei572 added enhancement New feature or request new issue New issue which has not been checked yet labels Jul 3, 2021
@jhomlala
Copy link
Owner

jhomlala commented Jul 6, 2021

Please fill issue ticket properly and follow this policy: #535

Just change controlBarColor in BetterPlayerControlsConfiguration to your desired color.

@jhomlala jhomlala closed this as completed Jul 6, 2021
@jhomlala jhomlala removed the new issue New issue which has not been checked yet label Jul 6, 2021
@YeFei572
Copy link
Author

YeFei572 commented Jul 17, 2021

Sorry about I haven't written the issue use the template first.
Maybe I didn't express my question.
I want to remove the Gaussian Blur.

I have set the controlBarColor to Colors.transparent, but it doesn't work.
@jhomlala , thx.

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

No branches or pull requests

2 participants