Skip to content

Commit

Permalink
0.0.13 Better Player
Browse files Browse the repository at this point in the history
  • Loading branch information
jhomlalabsg committed Aug 8, 2020
1 parent f1872c2 commit 8a4472f
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 5 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.0.13
* Changed channel name of video player plugin
* Fixed dispose issue in cupertino player

## 0.0.12
* Fixed duration called on null (fixed by https://github.com/ganeshrvel)
* Added new control events (fixed by https://github.com/ganeshrvel)
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ This plugin is based on [Chewie](https://github.com/brianegan/chewie). Chewie is

```yaml
dependencies:
better_player: ^0.0.12
better_player: ^0.0.13
```
2. Install it
Expand Down
8 changes: 5 additions & 3 deletions lib/src/controls/better_player_cupertino_controls.dart
Original file line number Diff line number Diff line change
Expand Up @@ -584,9 +584,11 @@ class _BetterPlayerCupertinoControlsState
}

void _updateState() {
setState(() {
_latestValue = _controller.value;
});
if (mounted) {
setState(() {
_latestValue = _controller.value;
});
}
}

void _onPlayerHide() {
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: better_player
description: Advanced video player based on video_player and Chewie. It's solves many typical use cases and it's easy to run.
version: 0.0.12
version: 0.0.13
authors:
- Jakub Homlala <jhomlala@gmail.com>
homepage: https://github.com/jhomlala/betterplayer
Expand Down

0 comments on commit 8a4472f

Please sign in to comment.