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

mohadel92 picture mohadel92  路  3Comments

kulture-rob-snider picture kulture-rob-snider  路  5Comments

mohadel92 picture mohadel92  路  3Comments

HiIamAlanOu picture HiIamAlanOu  路  3Comments

SayaGames picture SayaGames  路  3Comments