*Danke für dieses Plugin *
Können Sie bitte eine Funktion hinzufügen, mit der wir die Vollbild-Schaltfläche in den Player-Steuerelementen ausblenden können?
Dies ist bereits möglich, indem Sie dem YoutubePlayer eine neue Liste von bottomActions geben und den FullScreenButton nicht enthalten:
YoutubePlayer(
controller: _controller,
showVideoProgressIndicator: true,
bottomActions: <Widget>[
const SizedBox(width: 14.0),
CurrentPosition(),
const SizedBox(width: 8.0),
ProgressBar(isExpanded: true),
RemainingDuration(),
const PlaybackSpeedButton(),
],
);
Hoffe, das ist es, was Sie suchen!
Ja, es hat funktioniert, danke,
Hilfreichster Kommentar
Dies ist bereits möglich, indem Sie dem YoutubePlayer eine neue Liste von bottomActions geben und den FullScreenButton nicht enthalten:
YoutubePlayer( controller: _controller, showVideoProgressIndicator: true, bottomActions: <Widget>[ const SizedBox(width: 14.0), CurrentPosition(), const SizedBox(width: 8.0), ProgressBar(isExpanded: true), RemainingDuration(), const PlaybackSpeedButton(), ], );
Hoffe, das ist es, was Sie suchen!