Skip to content
This repository has been archived by the owner on Feb 22, 2023. It is now read-only.

Commit

Permalink
[video_player_web] Bump version for NNBD stable (#3574)
Browse files Browse the repository at this point in the history
  • Loading branch information
ditman authored Feb 23, 2021
1 parent 07e37f5 commit 29c3f1f
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 23 deletions.
18 changes: 2 additions & 16 deletions packages/video_player/video_player_web/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,23 +1,9 @@
## 2.0.0-nullsafety.4
## 2.0.0

* Migrate to null safety.
* Calling `setMixWithOthers()` now is silently ignored instead of throwing an exception.

## 2.0.0-nullsafety.3

* Updated to video_player_platform_interface 4.0.

## 2.0.0-nullsafety.2

* Fixed an issue where `isBuffering` was not updating on Web.

## 2.0.0-nullsafety.1

* Bump Dart SDK to support null safety.

## 2.0.0-nullsafety

* Migrate to null safety.

## 0.1.4+2

* Update Flutter SDK constraint.
Expand Down
12 changes: 6 additions & 6 deletions packages/video_player/video_player_web/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: video_player_web
description: Web platform implementation of video_player.
homepage: https://github.com/flutter/plugins/tree/master/packages/video_player/video_player_web
version: 2.0.0-nullsafety.4
version: 2.0.0

flutter:
plugin:
Expand All @@ -15,14 +15,14 @@ dependencies:
sdk: flutter
flutter_web_plugins:
sdk: flutter
meta: ^1.3.0-nullsafety.3
video_player_platform_interface: ^4.0.0-nullsafety.0
meta: ^1.3.0
video_player_platform_interface: ^4.0.0

dev_dependencies:
flutter_test:
sdk: flutter
pedantic: ^1.10.0-nullsafety.1
pedantic: ^1.10.0

environment:
sdk: ">=2.12.0-0 <3.0.0"
flutter: ">=1.12.8"
sdk: ">=2.12.0-259.9.beta <3.0.0"
flutter: ">=1.20.0"
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,9 @@ void main() {
await VideoPlayerPlatform.instance.setVolume(videoPlayerId, 0);
await VideoPlayerPlatform.instance.play(videoPlayerId);

expect(eventStream, emitsError(isA<PlatformException>()));
expect(() async {
await eventStream.last;
}, throwsA(isA<PlatformException>()));
});

test('can pause', () {
Expand Down

0 comments on commit 29c3f1f

Please sign in to comment.