Youtube_player_flutter: プレーヤーコントロールの全画面ボタンを非表示にする機能を追加できますか?

作成日 2020年01月21日  ·  2コメント  ·  ソース: sarbagyastha/youtube_player_flutter

*このプラグインをありがとう*

プレーヤーコントロールのフルスクリーンボタンを非表示にできる機能を追加していただけますか?

enhancement

最も参考になるコメント

これは、YoutubePlayerにbottomActionsの新しいリストを提供し、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(), ], );

これがあなたが求めているものであることを願っています!

全てのコメント2件

これは、YoutubePlayerにbottomActionsの新しいリストを提供し、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(), ], );

これがあなたが求めているものであることを願っています!

ええ、うまくいきました、ありがとう、

このページは役に立ちましたか?
0 / 5 - 0 評価