Reputation: 44
I need to add a Youtube playlist with a Youtube player to my Flutter application. How can I do that?
Upvotes: -3
Views: 859
Reputation: 1
Use the https://pub.dev/packages/youtube_explode_dart package:
var yt = YoutubeExplode();
// Get playlist metadata.
var playlist = await yt.playlists.get('xxxxx');
Upvotes: 0
Reputation: 10491
You can check this youtube_player_flutter plugin and see if it fits your use case. The plugin doesn't seem to support playlist URLs directly, but you can create a List<String> videoURls
containing all the video URLs you need for the playlist.
Upvotes: 0