fluttercommunity / fluttercommunity/chewie
hideControlsTimer doesn't work for customControls
- Dominant language
- Dart
- Stars
- 2.1k
- Forks
- 1.1k
- Avg merge
- 6d 8h
- Merged PRs (30d)
- 6
Description
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,
),
);
}`
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.