-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Closed
flutter/packages
#9534Labels
⏳Bot is counting down the days until it unassigns the issueBot is counting down the days until it unassigns the issueP2Important issues not at the top of the work listImportant issues not at the top of the work listfound in release: 3.29Found to occur in 3.29Found to occur in 3.29found in release: 3.31Found to occur in 3.31Found to occur in 3.31has reproducible stepsThe issue has been confirmed reproducible and is ready to work onThe issue has been confirmed reproducible and is ready to work onp: video_playerThe Video Player pluginThe Video Player pluginpackageflutter/packages repository. See also p: labels.flutter/packages repository. See also p: labels.platform-iosiOS applications specificallyiOS applications specificallyteam-iosOwned by iOS platform teamOwned by iOS platform teamtriaged-iosTriaged by iOS platform teamTriaged by iOS platform team
Description
Steps to reproduce
- copy the attached video file into assets
- run the code sample
Tested also with the latest main branch of packages.
Is this really a good idea?
Expected results
It should also print flutter: initialized or perhaps end with an unhandled exception.
Actual results
It prints just "flutter: constructed".
Code sample
Code sample
import "package:flutter/material.dart";
import "package:video_player/video_player.dart";
void main() async
{
WidgetsFlutterBinding.ensureInitialized();
var vpc = VideoPlayerController.asset("assets/fail.mp4");
print("constructed");
await vpc.initialize();
print("initialized");
}Video used in the code sample as fail.mp4
Video used in the code sample as fail.mp4
fail.mp4
Logs
Logs
[Paste your logs here]Flutter Doctor output
Doctor output
[✓] Flutter (Channel stable, 3.27.2, on macOS 15.3.1 24D70 darwin-x64)
• Flutter version 3.27.2 on channel stable at /usr/local/Caskroom/flutter/3.22.1/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 68415ad1d9 (3 months ago), 2025-01-13 10:22:03 -0800
• Engine revision e672b006cb
• Dart version 3.6.1
• DevTools version 2.40.2
[✓] Xcode - develop for iOS and macOS (Xcode 16.2)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 16C5032a
• CocoaPods version 1.15.2
[✓] Connected device
• ios • iOS 15.8.2 19H384Kal-Elx, RaadShariat, Tom3652 and Balin-P
Metadata
Metadata
Assignees
Labels
⏳Bot is counting down the days until it unassigns the issueBot is counting down the days until it unassigns the issueP2Important issues not at the top of the work listImportant issues not at the top of the work listfound in release: 3.29Found to occur in 3.29Found to occur in 3.29found in release: 3.31Found to occur in 3.31Found to occur in 3.31has reproducible stepsThe issue has been confirmed reproducible and is ready to work onThe issue has been confirmed reproducible and is ready to work onp: video_playerThe Video Player pluginThe Video Player pluginpackageflutter/packages repository. See also p: labels.flutter/packages repository. See also p: labels.platform-iosiOS applications specificallyiOS applications specificallyteam-iosOwned by iOS platform teamOwned by iOS platform teamtriaged-iosTriaged by iOS platform teamTriaged by iOS platform team