From 7a6ec8b0b548b053e2f2b7ce83758506b913d260 Mon Sep 17 00:00:00 2001 From: Alex Date: Wed, 31 Jan 2024 16:38:32 -0600 Subject: [PATCH] fix(mobile): video player shows black screen (#6819) fix(mobile): video player show black screen --- mobile/ios/Podfile.lock | 2 +- mobile/lib/modules/asset_viewer/views/video_viewer_page.dart | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/mobile/ios/Podfile.lock b/mobile/ios/Podfile.lock index a9ac5b3381..6081988b7a 100644 --- a/mobile/ios/Podfile.lock +++ b/mobile/ios/Podfile.lock @@ -180,4 +180,4 @@ SPEC CHECKSUMS: PODFILE CHECKSUM: 64c9b5291666c0ca3caabdfe9865c141ac40321d -COCOAPODS: 1.12.1 +COCOAPODS: 1.11.3 diff --git a/mobile/lib/modules/asset_viewer/views/video_viewer_page.dart b/mobile/lib/modules/asset_viewer/views/video_viewer_page.dart index d8e6b704fb..1df312095a 100644 --- a/mobile/lib/modules/asset_viewer/views/video_viewer_page.dart +++ b/mobile/lib/modules/asset_viewer/views/video_viewer_page.dart @@ -202,6 +202,8 @@ class _VideoPlayerState extends State { Widget build(BuildContext context) { if (chewieController?.videoPlayerController.value.isInitialized == true) { return SizedBox( + height: context.height, + width: context.width, child: Chewie( controller: chewieController!, ),