Skip to content

Commit 43ca262

Browse files
authored
[video player]: update the url in the readme example (flutter#4081)
1 parent 400fa20 commit 43ca262

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

packages/video_player/video_player/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 2.1.12
2+
3+
* Update the video url in the readme code sample
4+
15
## 2.1.11
26

37
* Remove references to the Android V1 embedding.

packages/video_player/video_player/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ class _VideoAppState extends State<VideoApp> {
7575
void initState() {
7676
super.initState();
7777
_controller = VideoPlayerController.network(
78-
'https://sample-videos.com/video123/mp4/720/big_buck_bunny_720p_20mb.mp4')
78+
'https://flutter.github.io/assets-for-api-docs/assets/videos/bee.mp4')
7979
..initialize().then((_) {
8080
// Ensure the first frame is shown after the video is initialized, even before the play button has been pressed.
8181
setState(() {});
@@ -129,7 +129,7 @@ This is not complete as of now. You can contribute to this section by [opening a
129129
### Playback speed
130130

131131
You can set the playback speed on your `_controller` (instance of `VideoPlayerController`) by
132-
calling `_controller.setPlaybackSpeed`. `setPlaybackSpeed` takes a `double` speed value indicating
132+
calling `_controller.setPlaybackSpeed`. `setPlaybackSpeed` takes a `double` speed value indicating
133133
the rate of playback for your video.
134134
For example, when given a value of `2.0`, your video will play at 2x the regular playback speed
135135
and so on.

packages/video_player/video_player/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ description: Flutter plugin for displaying inline video with other Flutter
33
widgets on Android, iOS, and web.
44
repository: https://github.com/flutter/plugins/tree/master/packages/video_player/video_player
55
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+video_player%22
6-
version: 2.1.11
6+
version: 2.1.12
77

88
environment:
99
sdk: ">=2.12.0 <3.0.0"

0 commit comments

Comments
 (0)