jhomlala / betterplayer

Better video player for Flutter, with multiple configuration options. Solving typical use cases!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[BUG]

ahsanrahman0745 opened this issue · comments

*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

  • better_player: ^0.0.83

Smartphone (please complete the following information):

  • Device: iphone xs
  • OS: 16.6

Hey did you solve this issue?

not yet

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

I'm having the same issue.