File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed
Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -34,11 +34,15 @@ String formatDuration(Duration position) {
3434 return formattedTime;
3535}
3636
37- /// Get the current buffering state of the video player. Will invoke a
38- /// Workaround for Android, as a bug in the video_player plugin prevents to get
39- /// the actual buffering state, always returning true and breaking ui elements.
37+ /// Gets the current buffering state of the video player.
38+ ///
39+ /// For Android, it will use a workaround due to a [bug] (https://github.com/flutter/flutter/issues/165149)
40+ /// affecting the `video_player` plugin, preventing it from getting the
41+ /// actual buffering state. This currently results in the `VideoPlayerController` always buffering,
42+ /// thus breaking UI elements.
43+ ///
4044/// For this, the actual buffer position is used to determine if the video is
41- /// buffering or not. See #912 for more details.
45+ /// buffering or not. See Issue [ #912] (https://github.com/fluttercommunity/chewie/pull/912) for more details.
4246bool getIsBuffering (VideoPlayerController controller) {
4347 final VideoPlayerValue value = controller.value;
4448
You can’t perform that action at this time.
0 commit comments