Youtube_player_flutter: Can you add a feature to hide the Full screen button in the player controls.

Created on 21 Jan 2020  ·  2Comments  ·  Source: sarbagyastha/youtube_player_flutter

* 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?

enhancement

Most helpful comment

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!

All 2 comments

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!

Yeah it worked, Thank You,

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jumper900 picture jumper900  ·  3Comments

rebeccalee-ysd picture rebeccalee-ysd  ·  3Comments

channdara picture channdara  ·  4Comments

mohadel92 picture mohadel92  ·  3Comments

kyawsithu picture kyawsithu  ·  4Comments