We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
.contentUri
1 parent 63fd81b commit 3ad8229Copy full SHA for 3ad8229
lib/src/widget/builder/video_page_builder.dart
@@ -80,7 +80,7 @@ class _VideoPageBuilderState extends State<VideoPageBuilder> {
80
}
81
return;
82
83
- _controller = VideoPlayerController.network(Uri.parse(url).toString());
+ _controller = VideoPlayerController.contentUri(Uri.parse(url));
84
try {
85
await controller.initialize();
86
hasLoaded = true;
pubspec.yaml
@@ -14,4 +14,4 @@ dependencies:
14
extended_image: ^4.1.0
15
photo_manager: ^1.3.3
16
provider: ^6.0.0
17
- video_player: ^2.1.14
+ video_player: ^2.2.3
0 commit comments