fluttercommunity / fluttercommunity/chewie

when I play a url with "m3u8" on iPhone device,it a living url, when I start ,the center button alaways is replay button, the function is ok ,just the icon is alaways replay button, how to resolve this problem!

Open
#837 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Dart
Stars
2.1k
Forks
1.1k
Avg merge
6d 8h
Merged PRs (30d)
6

Description

Future initializePlayer() async {
videoController = VideoPlayerController.networkUrl(Uri.parse(widget.url));
await Future.wait([videoController.initialize()]);
chewieController = ChewieController(
videoPlayerController: videoController,
aspectRatio: widget.aspectRatio,
autoPlay: widget.autoPlay,
looping: widget.looping,
isLive: true,
showOptions: false,
// useRootNavigator: false,
// controlsSafeAreaMinimum: EdgeInsets.fromLTRB(0, 0, 0, 20),
allowPlaybackSpeedChanging: false,
allowMuting: false, //声音
// placeholder: placeHolder,
materialProgressColors: progressColors,
customControls: const MaterialControls(
showPlayButton: true,
));
setState(() {});
}

Contributor guide

No contributing guide indexed for this repository

Research direction

The supplied reproduction is in initializePlayer(), where ChewieController uses MaterialControls with isLive: true. Start by tracing how isLive and showPlayButton affect the center icon; done means a live m3u8 stream no longer shows the replay icon when playback starts.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart, flutter
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.