I hope that when showControls is set to false, BufferingBuilder can also be used, but currently it is not available. There is also an issue where there is no response when pauleOnContextTap is set to true, and click anywhere in the video will not pause.
_chewieController = ChewieController(
videoPlayerController: _videoPlayerController,
autoInitialize: true,
autoPlay: true,
looping: true,
showControlsOnInitialize: false,
aspectRatio: _videoPlayerController.value.aspectRatio,
// allowMuting: false,
// allowFullScreen: true,
showControls: true,
errorBuilder: (context, errorMessage) {
return const Center(
child: Text("Video Error", style: TextStyle(color: Colors.white)),
);
},
pauseOnBackgroundTap: true,
bufferingBuilder: (BuildContext context) => widget.loading!,
)