From ffdc7e81ae784360470da8c244232522ea5a7055 Mon Sep 17 00:00:00 2001 From: LittleSheep Date: Sun, 17 Aug 2025 13:15:55 +0800 Subject: [PATCH] :bug: Make video being contained to prevent some issue --- lib/widgets/content/video.native.dart | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/widgets/content/video.native.dart b/lib/widgets/content/video.native.dart index 85bfa7ea..df770943 100644 --- a/lib/widgets/content/video.native.dart +++ b/lib/widgets/content/video.native.dart @@ -73,6 +73,7 @@ class _UniversalVideoState extends ConsumerState { return Video( controller: _videoController!, aspectRatio: widget.aspectRatio != 1 ? widget.aspectRatio : null, + fit: BoxFit.contain, controls: !kIsWeb && (Platform.isAndroid || Platform.isIOS) ? MaterialVideoControls