pod_player icon indicating copy to clipboard operation
pod_player copied to clipboard

Unhandled Exception: Exception: videoQuality cannot be empty

Open kevindmoore opened this issue 1 year ago • 11 comments

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):

kevindmoore avatar Mar 18 '24 17:03 kevindmoore

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

newtaDev avatar Mar 18 '24 17:03 newtaDev

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: @.***>

kevindmoore avatar Mar 18 '24 18:03 kevindmoore

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

newtaDev avatar Mar 18 '24 18:03 newtaDev

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: @.***>

kevindmoore avatar Mar 18 '24 19:03 kevindmoore

Please update the package version to solve this problem

OmarHussien22 avatar May 22 '24 13:05 OmarHussien22

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: @.***>

kevindmoore avatar May 22 '24 22:05 kevindmoore