abdelaziz-mahdy / flutter_meedu_videoplayer

Cross-Platform Video Player for flutter
https://abdelaziz-mahdy.github.io/flutter_meedu_videoplayer/
MIT License
132 stars 69 forks source link

In the debug console, the log shows an error, but the printed DataStatus is loading #161

Closed ijuniorfu closed 10 months ago

ijuniorfu commented 10 months ago
[log] {"timestamp":"2023-08-15T07:02:16.368963Z","level":"error","prefix":"cplayer","message":"Failed to recognize file format."}
ijuniorfu commented 10 months ago

In the debug console, the log shows an error, but the printed DataStatus is loading

abdelaziz-mahdy commented 10 months ago

some of the logs are handled by media_kit, if playback is stopped then thats a playback error and should show on screen

also if initMeeduPlayer(throwErrors=false)

those errors will not get handled

ijuniorfu commented 10 months ago

What should I do to change the datastatus to error?

abdelaziz-mahdy commented 10 months ago

Nothing, it should show the error by default, if you have an example I can test that will help greatly

And if you can test media_kit directly that's will help too, since it maybe an issue on their side