Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Prev Previous commit
Next Next commit
fix format
  • Loading branch information
misos1 committed Oct 17, 2024
commit 60330dc4dec16aed60bdc9a8a3dbdf59534d8d2a
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## 2.6.2
## 2.6.3

* Fixes VideoPlayerController.initialize() future never resolving with invalid video file.
* Adds more details to the error message returned by VideoPlayerController.initialize().
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -406,10 +406,12 @@ - (void)sendFailedToLoadVideoEvent {
}
// Prefer more detailed error information from tracks loading.
NSError *error;
if ([self.player.currentItem.asset statusOfValueForKey:@"tracks" error:&error] != AVKeyValueStatusFailed) {
if ([self.player.currentItem.asset statusOfValueForKey:@"tracks"
error:&error] != AVKeyValueStatusFailed) {
error = self.player.currentItem.error;
}
__block NSMutableOrderedSet<NSString*> *details = [NSMutableOrderedSet orderedSetWithObject:@"Failed to load video"];
__block NSMutableOrderedSet<NSString*> *details =
[NSMutableOrderedSet orderedSetWithObject:@"Failed to load video"];
void (^add)(NSString *) = ^(NSString *detail) {
if (detail != nil) {
[details addObject:detail];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: video_player_avfoundation
description: iOS and macOS implementation of the video_player plugin.
repository: https://github.com/flutter/packages/tree/main/packages/video_player/video_player_avfoundation
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+video_player%22
version: 2.6.2
version: 2.6.3

environment:
sdk: ^3.3.0
Expand Down