chewie icon indicating copy to clipboard operation
chewie copied to clipboard

hideControlsTimer doesn't work for customControls

Open faelgimenes opened this issue 1 year ago • 0 comments

I'm using Chewie to customize controls for a client. If I use the standard controls, when parameterizing hideControlsTimer it works. But if I use customControls, no.

My ChewieController is: _chewieController = ChewieController( videoPlayerController: _videoPlayer, aspectRatio: 16 / 9, autoPlay: true, showOptions: false, showControls: true, progressIndicatorDelay: bufferDelay != null ? Duration(milliseconds: bufferDelay!) : null, hideControlsTimer: const Duration(seconds: 3), customControls: VideoControls( controller: _videoPlayer, fnPlay: _fnPlay, fnPrev: _fnPrev, fnNext: _fnNext, fnSeek: _fnSeek, fnFull: _fnFull, ), ); }

faelgimenes avatar Sep 22 '23 21:09 faelgimenes