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

Support youtube playlist #37

Open
chrisjsewell opened this issue Jul 9, 2022 · 2 comments
Open

Support youtube playlist #37

chrisjsewell opened this issue Jul 9, 2022 · 2 comments

Comments

@chrisjsewell
Copy link
Contributor

Heya, would you support having a youtube-plist directive?

.. youtube-plist:: XYZ

The embedding HTML is essentially the same, but using the playlist shortcode like: https://www.youtube.com/embed/videoseries?list=XYZ

If yes, then I can probably make a PR

@chrisjsewell
Copy link
Contributor Author

Note, annoyingly I can't see a trivial way to get the thumbnail, without using the Google API (and thus needing an API key: https://stackoverflow.com/questions/10628760/how-to-get-a-youtube-playlist-thumbnail. This does work, though.

So then you would perhaps need to always provide two pieces of information:

.. youtube-plist:: XYZ
    :thumbnail: LMN

@dham
Copy link
Collaborator

dham commented Jul 18, 2022

Sure, it seems like a natural thing to do. I'd prefer youtube-playlist because readability is more important than saving 3 charachters.

Thanks.

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

2 participants