jhomlala / betterplayer

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

[BUG] #1242

Open ahsanrahman0745 opened 1 year ago

ahsanrahman0745 commented 1 year ago

*Example code AspectRatio( aspectRatio: 16 / 9,

      child: BetterPlayer.network(
        "https://commondatastorage.googleapis.com/gtv-videos-bucket/sample/ForBiggerBlazes.mp4",
        betterPlayerConfiguration: BetterPlayerConfiguration(
          aspectRatio: 16 / 9,
        ),
      ),
    )

Expected behavior facing conflict with amplify_flutter: ^1.3.1 amplify_storage_s3: ^1.3.1 amplify_auth_cognito: ^1.3.1

but I resolved this issue with this version better_player: ^0.0.63 but now I am facing this issue Could not build the precompiled application for the device. Error (Xcode): ../../.pub-cache/hosted/pub.dev/better_player-0.0.63/lib/src/core/better_player.dart:117:20: Error: Member not found: 'SystemChrome.setEnabledSystemUIOverlays'.

Error launching application on iPhone.

how to fix this

Screenshots

Screenshot 2023-08-09 at 1 48 39 PM

Flutter doctor Doctor summary (to see all details, run flutter doctor -v): [✓] Flutter (Channel stable, 3.10.6, on macOS 12.6.8 21G725 darwin-x64, locale en-PK) [✓] Android toolchain - develop for Android devices (Android SDK version 33.0.1) [✓] Xcode - develop for iOS and macOS (Xcode 14.2) [✓] Chrome - develop for the web [✓] Android Studio (version 2022.3) [✓] VS Code (version 1.81.0) [✓] Connected device (3 available) [✓] Network resources

• No issues found!

Better Player version

Smartphone (please complete the following information):

patrickwitter commented 1 year ago

Hey did you solve this issue?

ahsanrahman0745 commented 11 months ago

not yet

hiteshgarg002 commented 11 months ago

same issue, have you been able to resolve this? @ahsanrahman0745

ahsanrahman0745 commented 11 months ago

not yet @hiteshgarg002

mkelleherUSSA commented 8 months ago

I'm having the same issue.