diff --git a/lib/pages/video/detail/view.dart b/lib/pages/video/detail/view.dart index 58f53928..a409aa32 100644 --- a/lib/pages/video/detail/view.dart +++ b/lib/pages/video/detail/view.dart @@ -323,6 +323,10 @@ class _VideoDetailPageState extends State Obx( () { final double videoheight = Get.width * 9 / 16; + // final double videoheight = + // plPlayerController?.direction.value == 'vertical' + // ? Get.width + // : Get.width * 9 / 16; final double videowidth = Get.width; return SizedBox( height: MediaQuery.of(context).orientation == @@ -482,15 +486,7 @@ class _VideoDetailPageState extends State ); }, ), - SizedBox( - height: MediaQuery.of(context).orientation == - Orientation.landscape || - isFullScreen.value == true - ? 0 - : Get.height - - Get.width * 9 / 16 - - MediaQuery.of(context).padding.top, - width: MediaQuery.of(context).size.width, + Expanded( child: ColoredBox( key: Key(heroTag), color: Theme.of(context).colorScheme.background,