Skip to content

Commit

Permalink
fix(mobile): video player shows black screen (#6819)
Browse files Browse the repository at this point in the history
fix(mobile): video player show black screen
  • Loading branch information
alextran1502 committed Jan 31, 2024
1 parent 07466fa commit 7a6ec8b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion mobile/ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -180,4 +180,4 @@ SPEC CHECKSUMS:

PODFILE CHECKSUM: 64c9b5291666c0ca3caabdfe9865c141ac40321d

COCOAPODS: 1.12.1
COCOAPODS: 1.11.3
2 changes: 2 additions & 0 deletions mobile/lib/modules/asset_viewer/views/video_viewer_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,8 @@ class _VideoPlayerState extends State<VideoPlayer> {
Widget build(BuildContext context) {
if (chewieController?.videoPlayerController.value.isInitialized == true) {
return SizedBox(
height: context.height,
width: context.width,
child: Chewie(
controller: chewieController!,
),
Expand Down

0 comments on commit 7a6ec8b

Please sign in to comment.