Skip to content

BufferingBuilder and pauseOnBackgroundTap seems to have no effect #925

@Lazydd

Description

@Lazydd

I hope that when showControls is set to false, BufferingBuilder can also be used, but currently it is not available. There is also an issue where there is no response when pauleOnContextTap is set to true, and click anywhere in the video will not pause.

_chewieController = ChewieController(
  videoPlayerController: _videoPlayerController,
  autoInitialize: true,
  autoPlay: true,
  looping: true,
  showControlsOnInitialize: false,
  aspectRatio: _videoPlayerController.value.aspectRatio,
  // allowMuting: false,
  // allowFullScreen: true,
  showControls: true,
  errorBuilder: (context, errorMessage) {
    return const Center(
      child: Text("Video Error", style: TextStyle(color: Colors.white)),
    );
  },
  pauseOnBackgroundTap: true,
  bufferingBuilder: (BuildContext context) => widget.loading!,
)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions