jhomlala / betterplayer

Better video player for Flutter, with multiple configuration options. Solving typical use cases!
Apache License 2.0
919 stars 981 forks source link

overridden full screen aspect ratio #1126

Open hussenIbrahim opened 1 year ago

hussenIbrahim commented 1 year ago

aspect ratio not overridden in full screen mode Flutter version 2.8.1 sdk google atv x86 (mobile) • emulator-5554 • android-x86 • Android 10 (API 29) (emulator) better_player: ^0.0.81 photo_2022-01-04_10-40-49 (2) photo_2022-01-04_10-40-49

Originally posted by @hussenIbrahim in https://github.com/jhomlala/betterplayer/issues/853#issuecomment-1004589635

hussenIbrahim commented 1 year ago

aspect ration is ignored in full screen mode

Screenshot 2022-11-22 131637

rounce commented 1 year ago
BetterPlayerConfiguration(
  autoDetectFullscreenDeviceOrientation: false,
  autoDetectFullscreenAspectRatio: false,
  fullScreenAspectRatio: something
)
hussenIbrahim commented 1 year ago
BetterPlayerConfiguration(
  autoDetectFullscreenDeviceOrientation: false,
  autoDetectFullscreenAspectRatio: false,
  fullScreenAspectRatio: something
)

i want to change aspect ratio when player is full screen mode so this code not works

ceduardolima commented 3 weeks ago

Please take a look at this issue #102, maybe it solves your problem with fullScreenAspectRatio