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
106 stars 202 forks source link

Unhandled Exception: Exception: videoQuality cannot be empty #178

Open kevindmoore opened 8 months ago

kevindmoore commented 8 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 8 months ago

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

kevindmoore commented 8 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 8 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 8 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 6 months ago

Please update the package version to solve this problem

kevindmoore commented 6 months 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: @.***>

mattia-venturini commented 1 month ago

@newtaDev any update on this? Six month has passed, but the 0.2.2 is still the latest version available

rsozdance commented 1 month ago

any updates?