Merge pull request #691 from aryanA101a/videoFullscreenNavigateBackFix

fix: navigating back from full screen video
This commit is contained in:
Krille-chan 2023-11-21 19:52:48 +01:00 committed by GitHub
commit 4848af7655
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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,