Skip to content

youtube-nocookie.com not supported for playlists #2030

@kabo

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

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