flutter_macos_video_player
flutter_macos_video_player copied to clipboard
Infinite loader and black screen
Hello,
I'm using a M1 with video_player_macos: 1.0.6
and video_player: ^2.4.4
The player view remains black, with no sound and an infinite loader. I don't know how I can help because no error is displayed in the console and unfortunately I'm only swift developer. Let me know if you want me to test something.
I've created a small native macOS app to be sure that AVPlayer is able to play my video and it works successfully.
Julien
Have you tried the view here? https://github.com/ollydixon/flutter_macos_video_player/issues/10
Hi! Just tried your example with this URL, same result: https://storage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4
I see this error after like a minute : flutter: There was an issue loading the video player. flutter: PlatformException(VideoError, Failed to load video: The operation could not be completed, null, null)
You're using different versions from the one described in the README, so I don't know.
Humm, I don't think so, I'm using the pubspec configuration from the readme:
# For iOS and Android
better_player: ^0.0.83
# For Web
video_player: ^2.4.4
chewie: ^1.3.3
# This library
video_player_macos: 1.0.6
@JulienDev I'm not sure then, we've had no issues :-P
Thank you for your answers :) Just tried on a non-M1 but got the same problem. I'll try to debug it in the coming weeks
@JulienDev resolved?
Finally I'm not using it, but if I remember well it was working after I enabled incoming/outcoming connections for the Mac Os project
@JulienDev Hello. Excuse me, which solution did you finally choose to play videos on Macos?
@JulienDev Hello. Excuse me, which solution did you finally choose to play videos on Macos?
Hello, I'm now using https://github.com/alexmercerind/media_kit
Thanks I also use this library