We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3515ca1 commit a01ef87Copy full SHA for a01ef87
lib/src/helpers/utils.dart
@@ -34,6 +34,11 @@ String formatDuration(Duration position) {
34
return formattedTime;
35
}
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.
40
+/// For this, the actual buffer position is used to determine if the video is
41
+/// buffering or not. See #912 for more details.
42
bool getIsBuffering(VideoPlayerController controller) {
43
final VideoPlayerValue value = controller.value;
44
0 commit comments