Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

YOUTUBE API ERROR: YoutubeExplodeException #233

Open
rsozdance opened this issue Sep 24, 2024 · 17 comments
Open

YOUTUBE API ERROR: YoutubeExplodeException #233

rsozdance opened this issue Sep 24, 2024 · 17 comments

Comments

@rsozdance
Copy link

rsozdance commented Sep 24, 2024

Hello,

I am using the pod_player version 0.2.2 in flutter version 3.22.2 on ios and android.

The player works fine then suddenly i get this error for couple hours and then it works fine again.

===== YOUTUBE API ERROR: YoutubeExplodeException: Video XXXXXXXXXX returned 403 (stream: 18 ==========
[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: YoutubeExplodeException: Video XXXXXXXXXX returned 403 (stream: 18
#0      StreamClient.getManifest.<anonymous closure> (package:youtube_explode_dart/src/videos/streams/stream_client.dart:46:9)
<asynchronous suspension>
#1      retry (package:youtube_explode_dart/src/retry.dart:16:14)
<asynchronous suspension>
#2      VideoApis.getYoutubeVideoQualityUrls (package:pod_player/src/utils/video_apis.dart:142:13)
<asynchronous suspension>
#3      _CustumPotraitPlayerWidgetState.loadVideo (package:oxygen/custom_code/widgets/custum_potrait_player_widget.dart:53:18)
<asynchronous suspension>
@ceellyy9711
Copy link

Mine's still not working...

@Purehi
Copy link

Purehi commented Sep 25, 2024

me too. how to fix?

@SujitChanda-BT
Copy link

having same issue, how to fix that ?

@amol-d
Copy link

amol-d commented Sep 25, 2024

Hexer10/youtube_explode_dart#286

@rsozdance
Copy link
Author

Temporary fix for this issue:

Edit the pubspec.yaml file:

dependency_overrides:
  youtube_explode_dart: 
    git: "https://github.com/rsozdance/youtube_explode_dart.git"

Please note this is only a temporary fix.

@Purehi
Copy link

Purehi commented Sep 25, 2024

Hexer10/youtube_explode_dart#286

well done!!!

@Purehi
Copy link

Purehi commented Sep 25, 2024

Temporary fix for this issue:

Edit the pubspec.yaml file:

dependency_overrides:
  youtube_explode_dart: 
    git: "https://github.com/rsozdance/youtube_explode_dart.git"

Please note this is only a temporary fix.

thanks

@rsozdance rsozdance reopened this Sep 25, 2024
@rsozdance
Copy link
Author

Quick Update, the issue started happening again with some videos.

@mkamel44
Copy link

any solution

@645h1
Copy link

645h1 commented Sep 26, 2024

dependency_overrides:
youtube_explode_dart: ^2.2.2

Overriding the "youtube_explode_dart" package seems to work for some time till just randomly starts showing "Error while playing video".
The same video that was playing moments ago now shows the error: "Error while playing video" and vice versa.

@ahmedwaleed3378
Copy link

ahmedwaleed3378 commented Sep 26, 2024

is there any update ?

@ajithrameshcr
Copy link

I tried upgrading the flutter, now it is working for me.

@ahmedwaleed3378
Copy link

My project is updated, and still got the issue

@ajithrameshcr
Copy link

My project is updated, and still got the issue

Have you tried "flutter upgrade" ?

@dheerajpal09
Copy link

if you are using rocket LMS mobile app and facing this issue you just need to add youtube_explode_dart: ^2.2.2 in your pubspec.yaml it will be worked

@mkamel44
Copy link

mkamel44 commented Oct 9, 2024

how to add :
youtube_explode_dart: ^2.2.2

only add it in yaml in dependency
is still work until now ?

@dheerajpal09
Copy link

youtube_explode_dart: ^2.3.0 use this version

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

10 participants