youtube_api icon indicating copy to clipboard operation
youtube_api copied to clipboard

Get channel with maxResults more than exists videos in a channel.

Open ekalachev opened this issue 3 years ago • 0 comments

When I try to load the channel's videos with only one video, it throws an exception. The problem solves if I put "1" for maxResults.

YoutubeAPI youtube = YoutubeAPI(key, type: "channel", maxResults: 1); videoResult = await youtube.channel(channelId);

ekalachev avatar Dec 30 '21 02:12 ekalachev