Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions packages/video_player/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## 2.5.10

* Update video_player to 2.11.1.
* Update video_player_platform_interface to 6.6.0.
* Updates minimum supported SDK version to Flutter 3.29/Dart 3.7.

## 2.5.9

* Update video_player to 2.10.1.
Expand Down
4 changes: 2 additions & 2 deletions packages/video_player/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ This package is not an _endorsed_ implementation of `video_player`. Therefore, y

```yaml
dependencies:
video_player: ^2.10.1
video_player_tizen: ^2.5.9
video_player: ^2.11.1
video_player_tizen: ^2.5.10
```

Then you can import `video_player` in your Dart code:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ void main() {
});

testWidgets('live stream duration != 0', (WidgetTester tester) async {
final VideoPlayerController networkController =
VideoPlayerController.networkUrl(
final VideoPlayerController
networkController = VideoPlayerController.networkUrl(
Uri.parse(
'https://flutter.github.io/assets-for-api-docs/assets/videos/hls/bee.m3u8',
),
Expand Down
26 changes: 14 additions & 12 deletions packages/video_player/example/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,8 @@ class _ButterFlyAssetVideoInList extends StatelessWidget {
title: Text('Video video'),
),
Stack(
alignment: FractionalOffset.bottomRight +
alignment:
FractionalOffset.bottomRight +
const FractionalOffset(-0.1, -0.1),
children: <Widget>[
_ButterFlyAssetVideo(),
Expand Down Expand Up @@ -303,19 +304,20 @@ class _ControlsOverlay extends StatelessWidget {
AnimatedSwitcher(
duration: const Duration(milliseconds: 50),
reverseDuration: const Duration(milliseconds: 200),
child: controller.value.isPlaying
? const SizedBox.shrink()
: const ColoredBox(
color: Colors.black26,
child: Center(
child: Icon(
Icons.play_arrow,
color: Colors.white,
size: 100.0,
semanticLabel: 'Play',
child:
controller.value.isPlaying
? const SizedBox.shrink()
: const ColoredBox(
color: Colors.black26,
child: Center(
child: Icon(
Icons.play_arrow,
color: Colors.white,
size: 100.0,
semanticLabel: 'Play',
),
),
),
),
),
GestureDetector(
onTap: () {
Expand Down
6 changes: 3 additions & 3 deletions packages/video_player/example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ description: Demonstrates how to use the video_player_tizen plugin.
publish_to: "none"

environment:
sdk: ">=3.3.0 <4.0.0"
flutter: ">=3.19.0"
sdk: ^3.7.0
flutter: ">=3.29.0"

dependencies:
flutter:
sdk: flutter
video_player: ^2.9.2
video_player: ^2.11.1
video_player_tizen:
path: ../

Expand Down
Loading
Loading