Skip to content

Commit 0750c0e

Browse files
committed
Added additional instructions for android buffering workaround
1 parent 7eacc09 commit 0750c0e

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -314,6 +314,15 @@ Add the following to partly fix this behavior:
314314
}
315315
```
316316

317+
You can also disable the loading spinner entirely to fix this problem in a more _complete_ way, however will remove the loading indicator if a video is buffering.
318+
319+
```dart
320+
_chewieController = ChewieController(
321+
videoPlayerController: _videoPlayerController,
322+
progressIndicatorDelay: Platform.isAndroid ? const Duration(days: 1) : null,
323+
);
324+
```
325+
317326
## 📱 iOS warning
318327

319328
The video_player plugin used by chewie will only work in iOS simulators if you are on flutter 1.26.0 or above. You may need to switch to the beta channel `flutter channel beta`

0 commit comments

Comments
 (0)