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

Can you add a feature to hide the Full screen button in the player controls. #142

Closed
kushalmahapatro opened this issue Jan 21, 2020 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@kushalmahapatro
Copy link

** Thank for this Plugin**

Can you please add a feature by which we can be able to hide the Fullscreen button in the player controls?

@kushalmahapatro kushalmahapatro added the enhancement New feature or request label Jan 21, 2020
@MatthewManageMy
Copy link

MatthewManageMy commented Jan 21, 2020

This is already possible by giving the YoutubePlayer a new list of bottomActions, and not including the FullScreenButton:

YoutubePlayer( controller: _controller, showVideoProgressIndicator: true, bottomActions: <Widget>[ const SizedBox(width: 14.0), CurrentPosition(), const SizedBox(width: 8.0), ProgressBar(isExpanded: true), RemainingDuration(), const PlaybackSpeedButton(), ], );

Hope this is what you're after!

@kushalmahapatro
Copy link
Author

Yeah it worked, Thank You,

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

3 participants