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

Add support for playing playlists #348

Closed
JoseMarioPerezCotes opened this issue Apr 10, 2019 · 7 comments
Closed

Add support for playing playlists #348

JoseMarioPerezCotes opened this issue Apr 10, 2019 · 7 comments

Comments

@JoseMarioPerezCotes
Copy link

JoseMarioPerezCotes commented Apr 10, 2019

hello pierfrancesco, I want know if is posible to play a playlist just like the official youtube api?

@PierfrancescoSoffritti
Copy link
Owner

Hi, currently the only way to play a playlist is to play new videos each time one finishes.

A future improvement for the library could be implementing the playlist parameter in IFramePlayerOptions.

@PierfrancescoSoffritti PierfrancescoSoffritti changed the title Is Posible load a play list just like the official youtube api? Add support for playing playlists Apr 10, 2019
@acrolink
Copy link

That would be a great enhancement.

@MumenAlmadaineh
Copy link

Was this feature added? -If yes, how can I add a playlist to API (Android Studio)

@PierfrancescoSoffritti
Copy link
Owner

There is no support for playlists.

@MumenAlmadaineh
Copy link

😥

@flauschtrud
Copy link
Contributor

I would really appreciate if the listType parameter was implemented.

As mentioned in https://developers.google.com/youtube/player_parameters it would then be possible to load playlists as well as user uploads. (http://www.youtube.com/embed?listType=playlist&list=PLAYLIST_ID, http://www.youtube.com/embed?listType=user_uploads&list=USERNAME), so by only providing a playlist id or username we could then easily access a whole list of videos or even the whole channel.

PierfrancescoSoffritti added a commit that referenced this issue Aug 4, 2022
Add support for playlists, as described in #348 

* Moved sending of playlist video IDs to the UNSTARTED event in order to prevent to send the same ID repeatedly
* Add documentation

Co-authored-by: Pierfrancesco Soffritti <[email protected]>
@PierfrancescoSoffritti
Copy link
Owner

PierfrancescoSoffritti commented Aug 4, 2022

thanks to @flauschtrud playlists are now supported in the library :) (currently on the dev branch, they will be out with release 11.1.0)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants