There is a function to hide the full screen button ?
@matamune94 Add bottom actions and remove full screen button from there, Here is the code.
YoutubePlayer(
controller: _controller,
bottomActions: [
const SizedBox(width: 14.0),
CurrentPosition(),
const SizedBox(width: 8.0),
ProgressBar(),
RemainingDuration(),
const PlaybackSpeedButton(),
]
),
Thanks so much, I have one more problem, when I use _controller.load (id) to load another video, the thumbnail of the previous video will appear again, then the next video will load. how can fix?
@matamune94 I have no idea about that, I only load one video at a time. you can open a new issue for that.
@matamune94 I have no idea about that, I only load one video at a time. you can open a new issue for that.
thanks, i will.
@matamune94 Add bottom actions and remove full screen button from there, Here is the code.
YoutubePlayer( controller: _controller, bottomActions: [ const SizedBox(width: 14.0), CurrentPosition(), const SizedBox(width: 8.0), ProgressBar(), RemainingDuration(), const PlaybackSpeedButton(), ] ),
In my case, I need to add isExpanded: true inside ProgressBar widget.
Most helpful comment
@matamune94 Add bottom actions and remove full screen button from there, Here is the code.