Skip to content

Commit

Permalink
[video player]: update the url in the readme example (flutter#4081)
Browse files Browse the repository at this point in the history
  • Loading branch information
maheshj01 authored and amantoux committed Sep 27, 2021
1 parent fb8808d commit 8a53bfc
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions packages/video_player/video_player/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 2.1.12

* Update the video url in the readme code sample

## 2.1.11

* Remove references to the Android V1 embedding.
Expand Down
4 changes: 2 additions & 2 deletions packages/video_player/video_player/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ class _VideoAppState extends State<VideoApp> {
void initState() {
super.initState();
_controller = VideoPlayerController.network(
'https://sample-videos.com/video123/mp4/720/big_buck_bunny_720p_20mb.mp4')
'https://flutter.github.io/assets-for-api-docs/assets/videos/bee.mp4')
..initialize().then((_) {
// Ensure the first frame is shown after the video is initialized, even before the play button has been pressed.
setState(() {});
Expand Down Expand Up @@ -129,7 +129,7 @@ This is not complete as of now. You can contribute to this section by [opening a
### Playback speed

You can set the playback speed on your `_controller` (instance of `VideoPlayerController`) by
calling `_controller.setPlaybackSpeed`. `setPlaybackSpeed` takes a `double` speed value indicating
calling `_controller.setPlaybackSpeed`. `setPlaybackSpeed` takes a `double` speed value indicating
the rate of playback for your video.
For example, when given a value of `2.0`, your video will play at 2x the regular playback speed
and so on.
Expand Down
2 changes: 1 addition & 1 deletion packages/video_player/video_player/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ description: Flutter plugin for displaying inline video with other Flutter
widgets on Android, iOS, and web.
repository: https://github.com/flutter/plugins/tree/master/packages/video_player/video_player
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+video_player%22
version: 2.1.11
version: 2.1.12

environment:
sdk: ">=2.12.0 <3.0.0"
Expand Down

0 comments on commit 8a53bfc

Please sign in to comment.