newtaDev / pod_player

Video player for flutter web & mobile devices, Play video from youtube or vimeo or network in flutter using pod player
https://pub.dev/packages/pod_player
MIT License
97 stars 164 forks source link

Unhandled Exception: Exception: videoQuality cannot be empty #178

Open kevindmoore opened 3 months ago

kevindmoore commented 3 months ago

Certain videos get this exception. There doesn't seem to be anything I can do to handle this. The youtube video works fine in other places. E/flutter ( 3806): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: Exception: videoQuality cannot be empty E/flutter ( 3806): #0 _PodVideoQualityController.getUrlFromVideoQualityUrls (package:pod_player/src/controllers/pod_video_quality_controller.dart:85:7) E/flutter ( 3806): #1 PodGetXVideoController._initializePlayer (package:pod_player/src/controllers/pod_getx_video_controller.dart:119:27) E/flutter ( 3806): E/flutter ( 3806): #2 PodGetXVideoController.videoInit (package:pod_player/src/controllers/pod_getx_video_controller.dart:59:7) E/flutter ( 3806): E/flutter ( 3806): #3 PodGetXVideoController.changeVideo (package:pod_player/src/controllers/pod_getx_video_controller.dart:303:5) E/flutter ( 3806): E/flutter ( 3806):

newtaDev commented 3 months ago

Can you share the URL of the video to reproduce the issue

kevindmoore commented 3 months ago

https://youtu.be/s-B60yB_QUo Thanks, Kevin Moore

On Mon, Mar 18, 2024 at 10:51 AM Newton Michael | Newta < @.***> wrote:

Can you share the URL of the video to reproduce the issue

— Reply to this email directly, view it on GitHub https://github.com/newtaDev/pod_player/issues/178#issuecomment-2004570435, or unsubscribe https://github.com/notifications/unsubscribe-auth/AALTM4VEYGX7ZOB3YAWPFKTYY4SQJAVCNFSM6AAAAABE4BZOHSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMBUGU3TANBTGU . You are receiving this because you authored the thread.Message ID: @.***>

newtaDev commented 3 months ago

For now, Unfortunately, we are not considering 240p video quality from YouTube so, this error is occurring, Will Try to add 240p and 140p ASAP for now please use videos with higher resolution

kevindmoore commented 3 months ago

Unfortunately, these are the only versions I have available. Will see if they can rerecord

On Mon, Mar 18, 2024, 11:46 AM Newton Michael | Newta < @.***> wrote:

For now, Unfortunately, we are not considering 240p video quality from YouTube so, this error is occurring, Will Try to add 240p and 140p ASAP for now please use videos with higher resolution

— Reply to this email directly, view it on GitHub https://github.com/newtaDev/pod_player/issues/178#issuecomment-2004677798, or unsubscribe https://github.com/notifications/unsubscribe-auth/AALTM4T5UBLNXSZG3RBKMI3YY4Y63AVCNFSM6AAAAABE4BZOHSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMBUGY3TONZZHA . You are receiving this because you authored the thread.Message ID: @.***>

OmarHussien22 commented 1 month ago

Please update the package version to solve this problem

kevindmoore commented 1 month ago

I don't see a new version. I'm using 0.2.2 and it has the same issue. Thanks, Kevin Moore

On Wed, May 22, 2024 at 6:54 AM Omar Hussien @.***> wrote:

Please update the package version to solve this problem

— Reply to this email directly, view it on GitHub https://github.com/newtaDev/pod_player/issues/178#issuecomment-2124859281, or unsubscribe https://github.com/notifications/unsubscribe-auth/AALTM4S5IKUJAL4MFBWZHU3ZDSPPTAVCNFSM6AAAAABE4BZOHSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMRUHA2TSMRYGE . You are receiving this because you authored the thread.Message ID: @.***>