jhomlala / betterplayer

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

[BUG] Black strip on left side device when fullscreen. #1246

Open itsSagarBro opened 1 year ago

itsSagarBro commented 1 year ago

History check I checked everywhere for this, but cannot find any solution.

Problem On Android video player is using a safe area by default, I tried to find a solution for this but didn't get any solution.

To Reproduce Steps to reproduce the behavior:

  1. Setup better player
  2. Play any file using the network
  3. Open full screen
  4. See the error (Video is not going under notch/ using safe area)

Expected behavior A video should go under a notch and uses the full screen.

Screenshots WhatsApp Image 2023-08-22 at 14 06 45 WhatsApp Image 2023-08-22 at 14 06 45

Flutter doctor [√] Flutter (Channel stable, 3.10.5, on Microsoft Windows [Version 10.0.22621.2134], locale en-IN) • Flutter version 3.10.5 on channel stable at C:\src\flutter • Upstream repository https://github.com/flutter/flutter.git • Framework revision 796c8ef792 (10 weeks ago), 2023-06-13 15:51:02 -0700 • Engine revision 45f6e00911 • Dart version 3.0.5 • DevTools version 2.23.1

[√] Windows Version (Installed version of Windows is version 10 or higher)

[√] Android toolchain - develop for Android devices (Android SDK version 30.0.3) • Android SDK at C:\Users\sptl6\AppData\Local\Android\sdk • Platform android-33, build-tools 30.0.3 • Java binary at: C:\Program Files\Android\Android Studio\jbr\bin\java • Java version OpenJDK Runtime Environment (build 17.0.6+0-b2043.56-9586694) • All Android licenses accepted.

[√] Chrome - develop for the web • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[√] Visual Studio - develop for Windows (Visual Studio Community 2022 17.5.5) • Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community • Visual Studio Community 2022 version 17.5.33627.172 • Windows 10 SDK version 10.0.22000.0

[√] Android Studio (version 2022.2) • Android Studio at C:\Program Files\Android\Android Studio • Flutter plugin can be installed from: https://plugins.jetbrains.com/plugin/9212-flutter • Dart plugin can be installed from: https://plugins.jetbrains.com/plugin/6351-dart • Java version OpenJDK Runtime Environment (build 17.0.6+0-b2043.56-9586694)

[√] VS Code (version 1.81.1) • VS Code at C:\Users\sptl6\AppData\Local\Programs\Microsoft VS Code • Flutter extension version 3.70.0

[√] Connected device (4 available) • M2010J19CG (mobile) • 3c56ddd10c20 • android-arm64 • Android 13 (API 33) • Windows (desktop) • windows • windows-x64 • Microsoft Windows [Version 10.0.22621.2134] • Chrome (web) • chrome • web-javascript • Google Chrome 116.0.5845.97 • Edge (web) • edge • web-javascript • Microsoft Edge 115.0.1901.203

[√] Network resources • All expected network resources are available.

• No issues found!

Better Player version

Smartphone (please complete the following information):

risfat commented 2 months ago

Has anyone found any solutions yet?