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

Infinite loader and black screen #12

Open
JulienDev opened this issue Sep 1, 2022 · 11 comments
Open

Infinite loader and black screen #12

JulienDev opened this issue Sep 1, 2022 · 11 comments

Comments

@JulienDev
Copy link

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

@ollyde
Copy link
Owner

ollyde commented Sep 2, 2022

Have you tried the view here? #10

@JulienDev
Copy link
Author

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)

@ollyde
Copy link
Owner

ollyde commented Sep 2, 2022

You're using different versions from the one described in the README, so I don't know.

@JulienDev
Copy link
Author

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

@ollyde
Copy link
Owner

ollyde commented Sep 2, 2022

@JulienDev I'm not sure then, we've had no issues :-P

@JulienDev
Copy link
Author

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

@srix55
Copy link

srix55 commented Nov 25, 2022

@JulienDev resolved?

@JulienDev
Copy link
Author

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

@jiangchunyu
Copy link

@JulienDev Hello. Excuse me, which solution did you finally choose to play videos on Macos?

@JulienDev
Copy link
Author

@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

@jiangchunyu
Copy link

Thanks I also use this library

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants