fluttercommunity / fluttercommunity/chewie

Play Pause and 10sec forward backword option not appearing once seek to a position or clicking on 10sec forward backword buttons.

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

Description

Once its start buffering when seeking the progress of by clicking 10sec forward or backward button its keep showing the Circular Progress Indicator even after video play completed.

Reproducible code:

```import 'package:chewie/chewie.dart';
import 'package:flutter/material.dart';
import 'package:video_player/video_player.dart';

class MovieVideoPlayer extends StatefulWidget {
final String? url;

const MovieVideoPlayer({super.key, required this.url});

@override
State createState() => _MovieVideoPlayerState();
}

class _MovieVideoPlayerState extends State {
late final VideoPlayerController playerController;
late final ChewieController chewieController;

@override
void initState() {
playerController = VideoPlayerController.networkUrl(
Uri.parse(widget.url ?? 'http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4'),
);
chewieController = ChewieController(
videoPlayerController: playerController,
aspectRatio: 16 / 9,
allowedScreenSleep: false,
allowFullScreen: true,
);

super.initState();
}

@override
void dispose() {
playerController.dispose();
chewieController.dispose();

super.dispose();
}

@override
Widget build(BuildContext context) {
if (widget.url == null) {
return const Center(
child: Text('No video found.'),
);
}
return AspectRatio(
aspectRatio: 16 / 9,
child: Chewie(
controller: chewieController,
),
);
}
}
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the issue with the provided MovieVideoPlayer example, focusing on ChewieController and VideoPlayerController during seeking and 10-second jumps. Confirm when the Circular Progress Indicator remains visible and when playback controls disappear; done means the controls reappear and the indicator stops after seeking or playback completes.

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
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.