File tree Expand file tree Collapse file tree 3 files changed +14
-4
lines changed
packages/video_player/video_player Expand file tree Collapse file tree 3 files changed +14
-4
lines changed Original file line number Diff line number Diff line change
1
+ ## 0.10.12+5
2
+
3
+ * Depend on ` video_player_platform_interface ` version that contains the new ` TestHostVideoPlayerApi `
4
+ in order for tests to pass using the latest dependency.
5
+
1
6
## 0.10.12+4
2
7
3
8
* Keep handling deprecated Android v1 classes for backward compatibility.
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ description: Flutter plugin for displaying inline video with other Flutter
4
4
# 0.10.y+z is compatible with 1.0.0, if you land a breaking change bump
5
5
# the version to 2.0.0.
6
6
# See more details: https://github.com/flutter/flutter/wiki/Package-migration-to-1.0.0
7
- version : 0.10.12+4
7
+ version : 0.10.12+5
8
8
homepage : https://github.com/flutter/plugins/tree/master/packages/video_player/video_player
9
9
10
10
flutter :
@@ -20,7 +20,7 @@ flutter:
20
20
21
21
dependencies :
22
22
meta : ^1.0.5
23
- video_player_platform_interface : ^2.1 .0
23
+ video_player_platform_interface : ^2.2 .0
24
24
# The design on https://flutter.dev/go/federated-plugins was to leave
25
25
# this constraint as "any". We cannot do it right now as it fails pub publish
26
26
# validation, so we set a ^ constraint.
Original file line number Diff line number Diff line change @@ -588,9 +588,9 @@ void main() {
588
588
});
589
589
}
590
590
591
- class FakeVideoPlayerPlatform extends VideoPlayerApiTest {
591
+ class FakeVideoPlayerPlatform extends TestHostVideoPlayerApi {
592
592
FakeVideoPlayerPlatform () {
593
- VideoPlayerApiTestSetup (this );
593
+ TestHostVideoPlayerApi . setup (this );
594
594
}
595
595
596
596
Completer <bool > initialized = Completer <bool >();
@@ -657,6 +657,11 @@ class FakeVideoPlayerPlatform extends VideoPlayerApiTest {
657
657
calls.add ('setVolume' );
658
658
}
659
659
660
+ @override
661
+ void setPlaybackSpeed (PlaybackSpeedMessage arg) {
662
+ // todo: implement as part of completing https://github.com/flutter/plugins/pull/3031
663
+ }
664
+
660
665
@override
661
666
void setMixWithOthers (MixWithOthersMessage arg) {
662
667
calls.add ('setMixWithOthers' );
You can’t perform that action at this time.
0 commit comments