You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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!
#837
Open
yuxingmin opened this issue
May 31, 2024
· 1 comment
The text was updated successfully, but these errors were encountered:
yuxingmin
changed the title
when I play a url with "m3u8",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!
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!
May 31, 2024
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(() {});
}
The text was updated successfully, but these errors were encountered: