Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[video_player] #60048 ios picture in picture #3500

Open
wants to merge 90 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
90 commits
Select commit Hold shift + click to select a range
595d3df
#60048: Migration from flutter-plugins to flutter-packages
vanlooverenkoen Mar 20, 2023
4831f57
Updated doc
vanlooverenkoen Mar 20, 2023
976b630
Merged current main into ios pip
vanlooverenkoen Mar 20, 2023
a7d5dd5
#60048: Formatting
vanlooverenkoen Mar 20, 2023
876dfe8
Fixed formatting
vanlooverenkoen Mar 20, 2023
a4ca9e7
#60048: Updated the changelogs
vanlooverenkoen Mar 21, 2023
49f769a
Merge branch 'main' into feature/#60048-ios-picture-in-picture
vanlooverenkoen Apr 3, 2023
5477f0b
Merge branch 'main' into feature/#60048-ios-picture-in-picture
vanlooverenkoen Apr 15, 2023
0764e27
#60048: Updated comments related to docs & typo's
vanlooverenkoen Apr 15, 2023
65fdf65
Renamed setAutomaticallyStartPictureInPicture to setAutomaticallyStar…
vanlooverenkoen Apr 16, 2023
d4d9ff9
Updated starting to started to match stopped enum values
vanlooverenkoen Apr 17, 2023
ff6d02f
Removed some logic to pause
vanlooverenkoen Apr 17, 2023
ae7500a
Merge branch 'main' into feature/#60048-ios-picture-in-picture
vanlooverenkoen May 10, 2023
4eeb6e1
Merge branch 'main' into feature/#60048-ios-picture-in-picture
vanlooverenkoen May 11, 2023
9110d0f
Merge branch 'main' into feature/#60048-ios-picture-in-picture
vanlooverenkoen Jun 22, 2023
211c6b3
Fixed the formatting & pigeon run
vanlooverenkoen Jun 22, 2023
5a8735b
Fixed documentation
vanlooverenkoen Jun 22, 2023
4583229
Updated the dto's to setup the picture in picture
vanlooverenkoen Jun 22, 2023
70284aa
Fixed documentation
vanlooverenkoen Jun 23, 2023
7289998
Fixed 2 bugs where the permissions were not correct and an issue with…
vanlooverenkoen Jun 23, 2023
ee96f77
Merge branch 'main' into feature/#60048-ios-picture-in-picture
vanlooverenkoen Jun 23, 2023
da13c09
Fixed formatting & tests
vanlooverenkoen Jun 23, 2023
4d83a52
Merge branch 'main' into feature/#60048-ios-picture-in-picture
vanlooverenkoen Jun 24, 2023
ac920fe
Merge branch 'main' into feature/#60048-ios-picture-in-picture
vanlooverenkoen Jul 25, 2023
8394840
Fixed the version bumper for the the video_player itself
vanlooverenkoen Jul 25, 2023
19b1440
Fixed comments
vanlooverenkoen Jul 25, 2023
1963d27
Fixed some comments
vanlooverenkoen Jul 31, 2023
f71a27a
Fixed formaating
vanlooverenkoen Jul 31, 2023
b3e05a0
Merge branch 'main' into feature/#60048-ios-picture-in-picture
vanlooverenkoen Jul 31, 2023
1325254
Fixed documentation
vanlooverenkoen Jul 31, 2023
72ba79a
Fixed comment on UIBackgroundModes
vanlooverenkoen Aug 1, 2023
8c67ab8
Merge branch 'main' into feature/#60048-ios-picture-in-picture
vanlooverenkoen Aug 1, 2023
f935a16
Fixed a bug where the top & left overlay settings were incorrect
vanlooverenkoen Aug 1, 2023
42a7815
Merge branch 'main' into feature/#60048-ios-picture-in-picture
vanlooverenkoen Nov 25, 2023
fa93319
Merge branch 'main' into feature/#60048-ios-picture-in-picture
vanlooverenkoen Nov 25, 2023
b0103d0
updated documentation
vanlooverenkoen Nov 25, 2023
236ab51
fix ios tests
vanlooverenkoen Nov 25, 2023
1cf961d
Merge branch 'main' into feature/#60048-ios-picture-in-picture
vanlooverenkoen Dec 14, 2023
5c18256
Merge branch 'main' into feature/#60048-ios-picture-in-picture
vanlooverenkoen Mar 7, 2024
ddc7139
camera override video_player plugin
vanlooverenkoen Mar 7, 2024
45494b9
fix camera dependency overrides
vanlooverenkoen Mar 7, 2024
0597f32
fix macos implementation (only do validation on capabilities on iOS &…
vanlooverenkoen Mar 7, 2024
5c1f759
Merge branch 'main' into feature/#60048-ios-picture-in-picture
vanlooverenkoen Mar 8, 2024
e94ccaa
Merge branch 'main' into feature/#60048-ios-picture-in-picture
vanlooverenkoen Mar 11, 2024
9dc85a0
Merge branch 'main' into feature/#60048-ios-picture-in-picture
vanlooverenkoen Apr 23, 2024
2b72605
fix formatting
vanlooverenkoen Apr 23, 2024
601c506
fix formatting & unwanted changes
vanlooverenkoen Apr 23, 2024
4574fa9
fix: remove the video_player dependency overrides
vanlooverenkoen Apr 23, 2024
1135695
fix: add the dependency override of video_player_avfoundation
vanlooverenkoen Apr 23, 2024
cd7fede
fix: add all the correct dependency overrides
vanlooverenkoen Apr 23, 2024
e9aba08
changelog version to specific version
vanlooverenkoen Apr 23, 2024
30c0b7a
Update pubspec.yaml
vanlooverenkoen Apr 23, 2024
c0ccbfc
Update pubspec.yaml
vanlooverenkoen Apr 23, 2024
8ee1dcb
fix: formatting of video_player
vanlooverenkoen Apr 23, 2024
58db59a
fix: compatability
vanlooverenkoen Apr 23, 2024
16ae8cb
fix: integervalue
vanlooverenkoen Apr 23, 2024
a15c3b7
Merge branch 'main' into feature/#60048-ios-picture-in-picture
vanlooverenkoen Apr 23, 2024
87b92c2
fix: test on macOS
vanlooverenkoen Apr 23, 2024
5183028
Merge branch 'main' into feature/#60048-ios-picture-in-picture
vanlooverenkoen Apr 24, 2024
002faa0
Merge branch 'main' into feature/#60048-ios-picture-in-picture
vanlooverenkoen Apr 25, 2024
148cd55
Merge branch 'main' into feature/#60048-ios-picture-in-picture
vanlooverenkoen Apr 25, 2024
d88cf33
Merge branch 'main' into feature/#60048-ios-picture-in-picture
vanlooverenkoen Apr 25, 2024
45f96f5
Merge branch 'main' into feature/#60048-ios-picture-in-picture
vanlooverenkoen Apr 26, 2024
9459bd5
Merge branch 'main' into feature/#60048-ios-picture-in-picture
vanlooverenkoen May 8, 2024
d9f883b
fix formatting
vanlooverenkoen May 8, 2024
c9993dc
fix: macos checks
vanlooverenkoen May 8, 2024
3e401c1
fix: comment
vanlooverenkoen May 8, 2024
b250e9c
fix: check on macOS where there are no capabilities required to use p…
vanlooverenkoen May 8, 2024
01aaf8d
Revert "fix: add all the correct dependency overrides"
Nols1000 Jan 2, 2025
ee6db47
Revert "camera override video_player plugin"
Nols1000 Jan 2, 2025
2e3196b
Update the documentation on configuring the required ios capabilities
Nols1000 Jan 2, 2025
29c1d3b
Merge remote-tracking branch 'origin/main' into feature/#60048-ios-pi…
Nols1000 Jan 2, 2025
6d8fb1e
[video_player_android] regenerate pigeons
Nols1000 Jan 2, 2025
114f5b8
[video_player_avfoundation] regenerate pigeons
Nols1000 Jan 2, 2025
5861e1d
Revert changes to the camera_android_camerax example
Nols1000 Jan 2, 2025
114f9ac
[video_player] fix todo making the picture-in-picture message const
Nols1000 Jan 2, 2025
3c1b4e6
[video_player] add tests to ensure equals implementation for isPictur…
Nols1000 Jan 2, 2025
3985a77
[video_player_avfoundation] refactor picture in picture extension
Nols1000 Jan 3, 2025
1649be4
[video_player_avfoundation] refactor code
Nols1000 Jan 3, 2025
bc56139
[video_player] format code
Nols1000 Jan 3, 2025
e1348c8
[video_player_avfoundation] reorder imports
Nols1000 Jan 3, 2025
7e70da0
[video_player] update version
Nols1000 Jan 3, 2025
4abe6f1
[video_player_android] Revert all changes made to this package
Nols1000 Jan 3, 2025
2006494
[video_player] upgrade dependencies
Nols1000 Jan 3, 2025
58dabf4
[video_player] fix dependencies for example
Nols1000 Jan 3, 2025
881e80e
[video_player_android] add overwrite to fix analysis error
Nols1000 Jan 3, 2025
917bdd4
[video_player_avfoundation] fix type issue with isPictureInPictureSup…
Nols1000 Jan 4, 2025
fba55da
[video_player_avfoundation] refactore naming and setting the start of…
Nols1000 Jan 5, 2025
b0f42d8
[video_player] Update dependencies
Nols1000 Jan 8, 2025
e0231d8
Merge remote-tracking branch 'origin/main' into feature/#60048-ios-pi…
Nols1000 Jan 8, 2025
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
Prev Previous commit
Next Next commit
Fixed documentation
  • Loading branch information
vanlooverenkoen committed Jun 23, 2023
commit 70284aa87daf759219af8f3ed6a94344c2a5cf39
8 changes: 4 additions & 4 deletions packages/video_player/video_player/lib/video_player.dart
Original file line number Diff line number Diff line change
Expand Up @@ -586,7 +586,7 @@ class VideoPlayerController extends ValueNotifier<VideoPlayerValue> {
Future<bool> isPictureInPictureSupported() =>
_videoPlayerPlatform.isPictureInPictureSupported();

/// Enable/disable to start picture-in-picture automatically when the app goes to the background.
/// Enables/disables to start picture-in-picture automatically when the app goes to the background.
vanlooverenkoen marked this conversation as resolved.
Show resolved Hide resolved
Future<void> setAutomaticallyStartsPictureInPicture({
required bool enableStartPictureInPictureAutomaticallyFromInline,
}) async {
Expand All @@ -600,7 +600,7 @@ class VideoPlayerController extends ValueNotifier<VideoPlayerValue> {
);
}

/// Set the location of the video player view.
/// Sets the location of the video player view.
vanlooverenkoen marked this conversation as resolved.
Show resolved Hide resolved
/// So picture-in-picture can use it for animating.
vanlooverenkoen marked this conversation as resolved.
Show resolved Hide resolved
/// The rect will represent the location of the video player view in Flutter. The rect will be
/// passed to the platform to position the native picture-in-picture overlay correctly.
vanlooverenkoen marked this conversation as resolved.
Show resolved Hide resolved
Expand All @@ -616,15 +616,15 @@ class VideoPlayerController extends ValueNotifier<VideoPlayerValue> {
);
}

/// Start picture-in-picture mode.
/// Starts picture-in-picture mode.
Future<void> startPictureInPicture() async {
if (!value.isInitialized || _isDisposed) {
return;
}
await _videoPlayerPlatform.startPictureInPicture(_textureId);
}

/// Stop picture-in-picture mode.
/// Stops picture-in-picture mode.
Future<void> stopPictureInPicture() async {
if (!value.isInitialized || _isDisposed) {
return;
Expand Down