You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An error occurs when trying to fetch video streams using youtube_explode. The video is unavailable due to restrictions that require both logins. Note that they can work randomly. It can work once every 5 times, for example this is error :
Error fetching video qualities: VideoUnplayableException: Video 'PRPnNf-MoBw' is unplayable.
Streams are not available for this video.
Reason: Please sign in
[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: No video qualities found
To Reproduce
Include the code which doesn't work in the code markdown...
import 'package:youtube_explode_dart/youtube_explode_dart.dart';
void fetchVideoStream(String videoId) async {
var yt = YoutubeExplode();
try {
StreamManifest manifest = await yt.videos.streamsClient.getManifest(
videoId,
ytClients: [
YoutubeApiClient.safari,
YoutubeApiClient.mediaConnect,
],
);
// Process the manifest as needed
} catch (e) {
print('Error fetching video qualities: $e');
}
}
Enviroment:
flutter: 3.24.3
dart :3.5.3
YoutubeExplode Version : ^2.3.5
The text was updated successfully, but these errors were encountered:
Describe the bug
An error occurs when trying to fetch video streams using youtube_explode. The video is unavailable due to restrictions that require both logins. Note that they can work randomly. It can work once every 5 times, for example this is error :
Error fetching video qualities: VideoUnplayableException: Video 'PRPnNf-MoBw' is unplayable.
Streams are not available for this video.
Reason: Please sign in
[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: No video qualities found
To Reproduce
Include the code which doesn't work in the code markdown...
Enviroment:
The text was updated successfully, but these errors were encountered: