File tree 1 file changed +8
-4
lines changed 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) {
34
34
return formattedTime;
35
35
}
36
36
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
+ ///
40
44
/// 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.
42
46
bool getIsBuffering (VideoPlayerController controller) {
43
47
final VideoPlayerValue value = controller.value;
44
48
You can’t perform that action at this time.
0 commit comments