Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error on some Android API 29, white error icon #297

Open
dleurs opened this issue Oct 3, 2024 · 0 comments
Open

Error on some Android API 29, white error icon #297

dleurs opened this issue Oct 3, 2024 · 0 comments

Comments

@dleurs
Copy link

dleurs commented Oct 3, 2024

Hello,

I have an issue with three Android devices on Android 10 / API 29

image

The video displays straight this error icon, after a brief loading.

Sorry for giving too few information, I cannot reprodure on simulator Pixel 5 API 29, on release, as well as Samsung Tab A API 29.

I upgraded all my dependencies with flutter 3.24.3

  flick_video_player: ^0.9.0
  video_player: ^2.9.2
  late FlickManager flickManager;
  @override
  void initState() {
    super.initState();
    flickManager = FlickManager(
        videoPlayerController: VideoPlayerController.networkUrl(
      Uri.parse(widget.url),
    ));
@override
  Widget build(BuildContext context) {
    return AspectRatio(
      aspectRatio: 16 / 9,
      child: FlickVideoPlayer(
        flickManager: flickManager,
        flickVideoWithControls: FlickVideoWithControls(
          videoFit: BoxFit.contain,
          controls: FlickPortraitControls(
            iconSize: 32,
            progressBarSettings: FlickProgressBarSettings(
              height: 5,
              handleRadius: 8,
              bufferedColor: Colors.white.withOpacity(0.7),
              backgroundColor: Colors.white.withOpacity(0.2),
              padding: const EdgeInsets.all(10),
            ),
          ),
        ),
      ),
    );
  }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant