feross/yt-player

Feature request: method to load playlists

oskarrough opened this issue · 3 comments

Hi, the YouTube API also offers method for loading lists such as cuePlaylist and loadPlaylist but there's no equivalent in this package yet. Would you be open to a PR?

To follow the API you did for load we could have a player.loadPlaylist(videoId, [autoplay]).

Hey, I'm willing to consider this.

If we support playlists, we need to support nextVideo(), previousVideo(), and playVideoAt() as well.

If you send a PR, happy to take a look at it.

Hey, appreciate it. While I still think this is a good idea, there was a change of plans to save time and I won't be able to write a PR anytime soon. Wanted to let you know, feel free to close of course.

@oskarrough Thanks for letting me know. Cheers!