fluttercommunity / fluttercommunity/chewie

fullscreen button is not return to normal screen

Open
#327 6 comments 1 reaction 0 assignees View on GitHub
Dominant language
Dart
Stars
2.1k
Forks
1.1k
Avg merge
6d 8h
Merged PRs (30d)
6

Description

Hello,
When the video is in fullscreen mode and I click the screen button to return to the normal screen, nothing happens. The video continues in play mode and in full screen. On android and iOS the same problem.
For this reason I am not using the fullscreen feature in the app's production mode.

![WhatsApp Image 2020-06-16 at 19 05 26](https://user-images.githubusercontent.com/30963205/84833032-c6ce7b80-b004-11ea-93cf-a64f5b198ec0.jpg)

```
_videoPlayerController1 = VideoPlayerController.network(
snapshot.urlVideo);

_chewieController = ChewieController(
videoPlayerController: _videoPlayerController1,
aspectRatio: 16 / 9,
autoPlay: false,
looping: false,
fullScreenByDefault: false,
allowFullScreen: true,
deviceOrientationsAfterFullScreen: [DeviceOrientation.portraitUp],
// Try playing around with some of these other options:

showControls: true,
materialProgressColors: ChewieProgressColors(
playedColor: Colors.red,
handleColor: Colors.blue,
backgroundColor: Colors.grey,
bufferedColor: Colors.lightGreen,
),
placeholder: Container(
color: Colors.grey,
),
autoInitialize: true,
);
```

Thank you for your help.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the fullscreen exit failure with the ChewieController configuration shown, on both Android and iOS. Inspect the fullscreen controls and platform-specific orientation handling; done means tapping the fullscreen button reliably returns the video to its normal screen while playback continues as expected.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart, flutter
Domain
audio-video-rtc, mobile-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.