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

videoQuality cannot be empty #235

Open
Shadman554 opened this issue Sep 25, 2024 · 7 comments
Open

videoQuality cannot be empty #235

Shadman554 opened this issue Sep 25, 2024 · 7 comments

Comments

@Shadman554
Copy link

some videos wont open and i got this error

@RubenGamezTorrijos
Copy link

Today, September 25, there are problems with the Youtube video links in the library, an error appears: "Error while playing video"

@ge0rge000
Copy link

i have solution and solution also for get all quality for youtube contact me on whatsapp
+971557474526

@Shadman554
Copy link
Author

i have solution and solution also for get all quality for youtube contact me on whatsapp +971557474526

i dont have money to give to you sorry

@rsozdance
Copy link

Have You found any solutions?

@ge0rge000
Copy link

ge0rge000 commented Oct 9, 2024 via email

@Purehi
Copy link

Purehi commented Oct 10, 2024

Changed youtube_explode_dart. It's working for me.

`Stream _getStreams(VideoId videoId, {required bool fullManifest}) async* {
try {

  if (fullManifest) {
    await for (final stream
        in _getStream(videoId, VideoController.androidClient)) {
      yield stream;
    }
  }else{
    // Use await for instead of yield* to catch exceptions
    await for (final stream
    in _getStream(videoId, VideoController.iosClient)) {
      yield stream;
    }
  }
} on VideoUnplayableException catch (e) {
  if (e is VideoRequiresPurchaseException) {
    rethrow;
  }
  yield* _getCipherStream(videoId);
}

}
`

How to use
final manifest = await yt.videos.streamsClient.getManifest(youtubeIdOrUrl, fullManifest: true);

I have updated my app, you can check it out.
WeTube:Video&Music

@MohanadDaDev
Copy link

MohanadDaDev commented Oct 25, 2024

Changed youtube_explode_dart. It's working for me.

`Stream _getStreams(VideoId videoId, {required bool fullManifest}) async* { try {

  if (fullManifest) {
    await for (final stream
        in _getStream(videoId, VideoController.androidClient)) {
      yield stream;
    }
  }else{
    // Use await for instead of yield* to catch exceptions
    await for (final stream
    in _getStream(videoId, VideoController.iosClient)) {
      yield stream;
    }
  }
} on VideoUnplayableException catch (e) {
  if (e is VideoRequiresPurchaseException) {
    rethrow;
  }
  yield* _getCipherStream(videoId);
}

} `

How to use final manifest = await yt.videos.streamsClient.getManifest(youtubeIdOrUrl, fullManifest: true);

I have updated my app, you can check it out. WeTube:Video&Music

what's the implementation of _getCipherStream

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

6 participants