Open MichalNemec opened 1 year ago
History check it could be related to some, but i didnt find any suggestions that work.
Describe the bug in fully rotational app the player is dismissed.
To Reproduce Steps to reproduce the behavior:
add
autoPlay: false, looping: false, allowedScreenSleep: false, fullScreenByDefault: false, autoDetectFullscreenDeviceOrientation: false, autoDetectFullscreenAspectRatio: false, deviceOrientationsOnFullScreen: [ DeviceOrientation.portraitUp, DeviceOrientation.landscapeLeft, DeviceOrientation.landscapeRight, ], deviceOrientationsAfterFullScreen: [ DeviceOrientation.portraitUp, DeviceOrientation.landscapeLeft, DeviceOrientation.landscapeRight ],
*Example code
BetterPlayerConfiguration betterPlayerConfiguration = const BetterPlayerConfiguration( aspectRatio: 16 / 9, fit: BoxFit.contain, autoPlay: false, looping: false, allowedScreenSleep: false, fullScreenByDefault: false, autoDetectFullscreenDeviceOrientation: false, autoDetectFullscreenAspectRatio: false, deviceOrientationsOnFullScreen: [ DeviceOrientation.landscapeLeft, DeviceOrientation.landscapeRight, ], deviceOrientationsAfterFullScreen: [ DeviceOrientation.portraitUp, DeviceOrientation.landscapeLeft, DeviceOrientation.landscapeRight ], controlsConfiguration: BetterPlayerControlsConfiguration( controlBarColor: Colors.transparent, enableSkips: false, enableMute: true, enableSubtitles: false, enableQualities: false, enableAudioTracks: false, enablePlayPause: false, ), placeholder: VideoShimmer(), );
Expected behavior video should rotate based on rotation.
Flutter doctor
[✓] Flutter (Channel stable, 3.7.4, on macOS 13.2.1 22D68 darwin-arm64, locale en-CZ) [✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0-rc4) [✓] Xcode - develop for iOS and macOS (Xcode 14.2) [✓] Chrome - develop for the web [✓] Android Studio (version 2021.2) [✓] VS Code (version 1.75.1) [✓] Connected device (3 available) [✓] HTTP Host Availability
Better Player version
Smartphone (please complete the following information):
same issue
History check it could be related to some, but i didnt find any suggestions that work.
Describe the bug in fully rotational app the player is dismissed.
To Reproduce Steps to reproduce the behavior:
add
*Example code
Expected behavior video should rotate based on rotation.
Screenshots
Flutter doctor
Better Player version
Smartphone (please complete the following information):
Additional context