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

YouTube and listId #775

Open
0gust1 opened this issue Dec 9, 2024 · 0 comments · May be fixed by #774
Open

YouTube and listId #775

0gust1 opened this issue Dec 9, 2024 · 0 comments · May be fixed by #774

Comments

@0gust1
Copy link

0gust1 commented Dec 9, 2024

Describe the bug
Thanks for the lib! I wanted to embed an Youtube playlist instead of a single vid as usual and noticed that listId prop on YouTube component doesn't work.

To Reproduce

Instantiate <YouTube/> component with a listId

Additional context

Looking at the component code, the srcUrl for the Youtube player is not well constructed when youtubId is empty and a listId is given (several ?).

#774 proposes a fix (and adds the support of the index parameter to choos which playlist item will be selected).

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

Successfully merging a pull request may close this issue.

1 participant