Merge branch 'main' into dependabot/pub/record-6.2.0

This commit is contained in:
Krille-chan 2026-02-07 16:35:06 +01:00 committed by GitHub
commit df94e28aaf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -64,7 +64,7 @@ class EventVideoPlayerState extends State<EventVideoPlayer> {
// Create the VideoPlayerController from the contents of videoFile. // Create the VideoPlayerController from the contents of videoFile.
if (kIsWeb) { if (kIsWeb) {
final blob = html.Blob([videoFile.bytes]); final blob = html.Blob([videoFile.bytes], videoFile.mimeType);
final networkUri = Uri.parse(html.Url.createObjectUrlFromBlob(blob)); final networkUri = Uri.parse(html.Url.createObjectUrlFromBlob(blob));
videoPlayerController = VideoPlayerController.networkUrl(networkUri); videoPlayerController = VideoPlayerController.networkUrl(networkUri);
} else { } else {