If I go to a youtube playlist, e.g. https://www.youtube.com/playlist?list=PLhwHJqOYA_U2Z_NyqP9GZxx8DHcDBjid6, and I click share and then ensure the "Enable privacy-enhanced mode" is enabled, the resulting URL looks like this: https://www.youtube-nocookie.com/embed/videoseries?list=PLhwHJqOYA_U2Z_NyqP9GZxx8DHcDBjid6.
But if I try to use that URL in react-player I get "Video unavailable". Inspecting the DOM I see the correct URL in the <youtube-video> tag, but the <iframe> src attribute is missing the list parameter. If I add &list=PLhwHJqOYA_U2Z_NyqP9GZxx8DHcDBjid6 using the dev tools the playlist pops up correctly.
This can be recreated in https://cookpete.github.io/react-player/ .
If I go to a youtube playlist, e.g. https://www.youtube.com/playlist?list=PLhwHJqOYA_U2Z_NyqP9GZxx8DHcDBjid6, and I click share and then ensure the "Enable privacy-enhanced mode" is enabled, the resulting URL looks like this:
https://www.youtube-nocookie.com/embed/videoseries?list=PLhwHJqOYA_U2Z_NyqP9GZxx8DHcDBjid6.But if I try to use that URL in react-player I get "Video unavailable". Inspecting the DOM I see the correct URL in the
<youtube-video>tag, but the<iframe>srcattribute is missing thelistparameter. If I add&list=PLhwHJqOYA_U2Z_NyqP9GZxx8DHcDBjid6using the dev tools the playlist pops up correctly.This can be recreated in https://cookpete.github.io/react-player/ .