Skip to content
Open
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
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
## NEXT

* Updates minimum supported SDK version to Flutter 3.27/Dart 3.6.
* Adds a `setAllowBackgroundPlayback` method to dynamically control background playback.

## 6.3.0

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,12 @@ abstract class VideoPlayerPlatform extends PlatformInterface {
throw UnimplementedError('setMixWithOthers() has not been implemented.');
}

/// Sets whether the video should continue to play in the background.
Future<void> setAllowBackgroundPlayback(bool allowBackgroundPlayback) {
throw UnimplementedError(
'setAllowBackgroundPlayback() has not been implemented.');
}

/// Sets additional options on web.
Future<void> setWebOptions(int playerId, VideoPlayerWebOptions options) {
throw UnimplementedError('setWebOptions() has not been implemented.');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ repository: https://github.com/flutter/packages/tree/main/packages/video_player/
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+video_player%22
# NOTE: We strongly prefer non-breaking changes, even at the expense of a
# less-clean API. See https://flutter.dev/go/platform-interface-breaking-changes
version: 6.3.0
version: 6.4.0

environment:
sdk: ^3.6.0
Expand Down