🐛 Make video being contained to prevent some issue

This commit is contained in:
2025-08-17 13:15:55 +08:00
parent 1d3357803d
commit ffdc7e81ae

View File

@@ -73,6 +73,7 @@ class _UniversalVideoState extends ConsumerState<UniversalVideo> {
return Video(
controller: _videoController!,
aspectRatio: widget.aspectRatio != 1 ? widget.aspectRatio : null,
fit: BoxFit.contain,
controls:
!kIsWeb && (Platform.isAndroid || Platform.isIOS)
? MaterialVideoControls