fix: navigating back from full screen video

This commit is contained in:
Aryan Arora 2023-11-20 23:59:37 +05:30
parent 9c6db3de42
commit 0214256eda

View file

@ -59,6 +59,7 @@ class EventVideoPlayerState extends State<EventVideoPlayer> {
);
} else if (!kIsWeb && tmpFile != null && _chewieManager == null) {
_chewieManager ??= ChewieController(
useRootNavigator: false,
videoPlayerController: VideoPlayerController.file(tmpFile),
autoPlay: true,
autoInitialize: true,