chewie
chewie copied to clipboard
hideControlsTimer doesn't work for customControls
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, ), ); }