File tree Expand file tree Collapse file tree 20 files changed +31
-38
lines changed
image_picker/image_picker Expand file tree Collapse file tree 20 files changed +31
-38
lines changed Original file line number Diff line number Diff line change
1
+ ## 0.10.5+7
2
+
3
+ * Updates example app to use non-deprecated video_player method.
4
+
1
5
## 0.10.5+6
2
6
3
7
* Updates minimum supported SDK version to Flutter 3.10/Dart 3.0.
Original file line number Diff line number Diff line change @@ -986,11 +986,7 @@ class _CameraExampleHomeState extends State<CameraExampleHome>
986
986
}
987
987
988
988
final VideoPlayerController vController = kIsWeb
989
- // TODO(gabrielokura): remove the ignore once the following line can migrate to
990
- // use VideoPlayerController.networkUrl after the issue is resolved.
991
- // https://github.com/flutter/flutter/issues/121927
992
- // ignore: deprecated_member_use
993
- ? VideoPlayerController .network (videoFile! .path)
989
+ ? VideoPlayerController .networkUrl (Uri .parse (videoFile! .path))
994
990
: VideoPlayerController .file (File (videoFile! .path));
995
991
996
992
videoPlayerListener = () {
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ dependencies:
17
17
flutter :
18
18
sdk : flutter
19
19
path_provider : ^2.0.0
20
- video_player : ^2.1.4
20
+ video_player : ^2.7.0
21
21
22
22
dev_dependencies :
23
23
build_runner : ^2.1.10
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ description: A Flutter plugin for controlling the camera. Supports previewing
4
4
Dart.
5
5
repository : https://github.com/flutter/packages/tree/main/packages/camera/camera
6
6
issue_tracker : https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+camera%22
7
- version : 0.10.5+6
7
+ version : 0.10.5+7
8
8
9
9
environment :
10
10
sdk : " >=3.0.0 <4.0.0"
@@ -34,7 +34,6 @@ dev_dependencies:
34
34
sdk : flutter
35
35
mockito : 5.4.3
36
36
plugin_platform_interface : ^2.0.0
37
- video_player : ^2.0.0
38
37
39
38
topics :
40
39
- camera
Original file line number Diff line number Diff line change
1
+ ## 0.10.8+15
2
+
3
+ * Updates example app to use non-deprecated video_player method.
4
+
1
5
## 0.10.8+14
2
6
3
7
* Fixes ` pausePreview ` null pointer error. ` pausePreview ` should not be called
Original file line number Diff line number Diff line change @@ -994,11 +994,7 @@ class _CameraExampleHomeState extends State<CameraExampleHome>
994
994
}
995
995
996
996
final VideoPlayerController vController = kIsWeb
997
- // TODO(gabrielokura): remove the ignore once the following line can migrate to
998
- // use VideoPlayerController.networkUrl after the issue is resolved.
999
- // https://github.com/flutter/flutter/issues/121927
1000
- // ignore: deprecated_member_use
1001
- ? VideoPlayerController .network (videoFile! .path)
997
+ ? VideoPlayerController .networkUrl (Uri .parse (videoFile! .path))
1002
998
: VideoPlayerController .file (File (videoFile! .path));
1003
999
1004
1000
videoPlayerListener = () {
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ dependencies:
18
18
flutter :
19
19
sdk : flutter
20
20
path_provider : ^2.0.0
21
- video_player : ^2.1.4
21
+ video_player : ^2.7.0
22
22
23
23
dev_dependencies :
24
24
build_runner : ^2.1.10
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ description: Android implementation of the camera plugin.
3
3
repository : https://github.com/flutter/packages/tree/main/packages/camera/camera_android
4
4
issue_tracker : https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+camera%22
5
5
6
- version : 0.10.8+14
6
+ version : 0.10.8+15
7
7
8
8
environment :
9
9
sdk : " >=3.0.0 <4.0.0"
Original file line number Diff line number Diff line change
1
+ ## 0.5.0+24
2
+
3
+ * Updates example app to use non-deprecated video_player method.
4
+
1
5
## 0.5.0+23
2
6
3
7
* Updates minimum supported SDK version to Flutter 3.10/Dart 3.0.
Original file line number Diff line number Diff line change @@ -971,11 +971,7 @@ class _CameraExampleHomeState extends State<CameraExampleHome>
971
971
}
972
972
973
973
final VideoPlayerController vController = kIsWeb
974
- // TODO(gabrielokura): remove the ignore once the following line can migrate to
975
- // use VideoPlayerController.networkUrl after the issue is resolved.
976
- // https://github.com/flutter/flutter/issues/121927
977
- // ignore: deprecated_member_use
978
- ? VideoPlayerController .network (videoFile! .path)
974
+ ? VideoPlayerController .networkUrl (Uri .parse (videoFile! .path))
979
975
: VideoPlayerController .file (File (videoFile! .path));
980
976
981
977
videoPlayerListener = () {
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ dependencies:
17
17
camera_platform_interface : ^2.2.0
18
18
flutter :
19
19
sdk : flutter
20
- video_player : ^2.4.10
20
+ video_player : ^2.7.0
21
21
22
22
dev_dependencies :
23
23
espresso : ^0.2.0
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ name: camera_android_camerax
2
2
description : Android implementation of the camera plugin using the CameraX library.
3
3
repository : https://github.com/flutter/packages/tree/main/packages/camera/camera_android_camerax
4
4
issue_tracker : https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+camera%22
5
- version : 0.5.0+23
5
+ version : 0.5.0+24
6
6
7
7
environment :
8
8
sdk : " >=3.0.0 <4.0.0"
Original file line number Diff line number Diff line change 1
- ## NEXT
1
+ ## 0.9.13+8
2
2
3
+ * Updates example app to use non-deprecated video_player method.
3
4
* Updates minimum supported SDK version to Flutter 3.10/Dart 3.0.
4
5
5
6
## 0.9.13+7
Original file line number Diff line number Diff line change @@ -994,11 +994,7 @@ class _CameraExampleHomeState extends State<CameraExampleHome>
994
994
}
995
995
996
996
final VideoPlayerController vController = kIsWeb
997
- // TODO(gabrielokura): remove the ignore once the following line can migrate to
998
- // use VideoPlayerController.networkUrl after the issue is resolved.
999
- // https://github.com/flutter/flutter/issues/121927
1000
- // ignore: deprecated_member_use
1001
- ? VideoPlayerController .network (videoFile! .path)
997
+ ? VideoPlayerController .networkUrl (Uri .parse (videoFile! .path))
1002
998
: VideoPlayerController .file (File (videoFile! .path));
1003
999
1004
1000
videoPlayerListener = () {
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ dependencies:
18
18
flutter :
19
19
sdk : flutter
20
20
path_provider : ^2.0.0
21
- video_player : ^2.1.4
21
+ video_player : ^2.7.0
22
22
23
23
dev_dependencies :
24
24
build_runner : ^2.1.10
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ name: camera_avfoundation
2
2
description : iOS implementation of the camera plugin.
3
3
repository : https://github.com/flutter/packages/tree/main/packages/camera/camera_avfoundation
4
4
issue_tracker : https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+camera%22
5
- version : 0.9.13+7
5
+ version : 0.9.13+8
6
6
7
7
environment :
8
8
sdk : " >=3.0.0 <4.0.0"
Original file line number Diff line number Diff line change 1
- ## NEXT
1
+ ## 1.0.5
2
2
3
+ * Updates example app to use non-deprecated video_player method.
3
4
* Updates minimum supported SDK version to Flutter 3.10/Dart 3.0.
4
5
5
6
## 1.0.4
Original file line number Diff line number Diff line change @@ -62,11 +62,7 @@ class _MyHomePageState extends State<MyHomePage> {
62
62
await _disposeVideoController ();
63
63
late VideoPlayerController controller;
64
64
if (kIsWeb) {
65
- // TODO(gabrielokura): remove the ignore once the following line can migrate to
66
- // use VideoPlayerController.networkUrl after the issue is resolved.
67
- // https://github.com/flutter/flutter/issues/121927
68
- // ignore: deprecated_member_use
69
- controller = VideoPlayerController .network (file.path);
65
+ controller = VideoPlayerController .networkUrl (Uri .parse (file.path));
70
66
} else {
71
67
controller = VideoPlayerController .file (File (file.path));
72
68
}
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ dependencies:
19
19
path : ../
20
20
image_picker_platform_interface : ^2.8.0
21
21
mime : ^1.0.4
22
- video_player : ^2.1.4
22
+ video_player : ^2.7.0
23
23
24
24
dev_dependencies :
25
25
build_runner : ^2.1.10
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ description: Flutter plugin for selecting images from the Android and iOS image
3
3
library, and taking new pictures with the camera.
4
4
repository : https://github.com/flutter/packages/tree/main/packages/image_picker/image_picker
5
5
issue_tracker : https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+image_picker%22
6
- version : 1.0.4
6
+ version : 1.0.5
7
7
8
8
environment :
9
9
sdk : " >=3.0.0 <4.0.0"
You can’t perform that action at this time.
0 commit comments