itsSagarBro / modern_player

Enhance your video playback experience with modern_player—a feature-rich Flutter package for flutter_vlc_player. Enjoy auto-hiding controls, double-tap to seek, customizable UI, automatic subtitle and audio track detection, and more on both Android and iOS.
MIT License
20 stars 13 forks source link

Error Not Displayed During Video Playback; Player Stuck in Loading State #11

Open ahmed-moha opened 2 months ago

ahmed-moha commented 2 months ago

When attempting to play a video stream using the ModernPlayer package, if an error occurs during playback, the error is not displayed to the user. Instead, the player remains stuck in a loading state indefinitely.

To Reproduce Steps to reproduce the behavior:

Go to the application using the ModernPlayer package. Use the following video stream URL: http://102.218.10.142:80/dvb-gw/output/5/shabelle-tv. Attempt to play the video. If an error occurs, observe that the video player remains in a loading state without displaying any error message. Expected behavior When an error occurs during video playback, a clear and concise error message should be displayed to the user instead of the player remaining stuck in a loading state.

Smartphone (please complete the following information):

Device: Android Emulator OS: Android API 33 (android-x64 emulator) Browser: N/A Version: Pixel 3a XL

Additional context The issue is observed consistently with the provided stream URL. The emulator used is "Pixel 3a XL API 33 (android-x64 emulator)". The problem might be related to how ModernPlayer handles errors during video playback.

itsSagarBro commented 2 months ago

10 Same Issue