Skip to content
This repository has been archived by the owner on May 16, 2021. It is now read-only.

Commit

Permalink
removed logs
Browse files Browse the repository at this point in the history
  • Loading branch information
the-meedu-app authored and the-meedu-app committed Jan 5, 2021
1 parent 1ff6503 commit 8c4539c
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 2 additions & 0 deletions plugin/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
## [0.4.1+1]
- Removed logs.
## [0.4.1]
- Added loading view while the video is playing.
- Removed GetX.
Expand Down
2 changes: 1 addition & 1 deletion plugin/example/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ packages:
path: ".."
relative: true
source: path
version: "0.4.1"
version: "0.4.1+1"
meta:
dependency: transitive
description:
Expand Down
4 changes: 1 addition & 3 deletions plugin/lib/src/controller.dart
Original file line number Diff line number Diff line change
Expand Up @@ -239,15 +239,13 @@ class MeeduPlayerController {

// set the video buffered loaded
final buffered = value.buffered;
print("value.buffered ${value.buffered.length}");

if (buffered.isNotEmpty) {
_buffered.value = buffered;
isBuffering.value =
value.isPlaying && position.inSeconds >= buffered.last.end.inSeconds;
}

print("🤩 ${isBuffering.value}");

// save the volume value
final volume = value.volume;
if (!mute.value && _volumeBeforeMute != volume) {
Expand Down
2 changes: 1 addition & 1 deletion plugin/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: meedu_player
description: A new Flutter UI video controls for the flutter video_player plugin.
version: 0.4.1
version: 0.4.1+1
homepage: https://github.com/the-meedu-app/flutter-meedu-player/tree/master/plugin

environment:
Expand Down

0 comments on commit 8c4539c

Please sign in to comment.