Skip to content

youtube-nocookie.com not supported for playlists #2030

Description

@kabo

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/ .

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions