Skip to content

embed: Use youtube-nocookie.com #114

Merged
merged 1 commit into from
Mar 25, 2021
Merged

embed: Use youtube-nocookie.com #114

merged 1 commit into from
Mar 25, 2021

Commits on Mar 25, 2021

  1. embed: Use youtube-nocookie.com

    YouTube supports embedding videos with "privacy enhanced mode" [1].
    This is done by using https://www.youtube-nocookie.com/embed instead of
    https://www.youtube.com/embed.
    
    Override wagtails oembed finder to fixup the url we've got from YouTubes
    oEmbed API.
    
    We still load external content and need to trust Google, but it could be
    verified, that no tracking cookies are sent around. This is even true,
    when the video is actually played.
    
    [1]: https://support.google.com/youtube/answer/171780
    donald committed Mar 25, 2021
    Configuration menu
    Copy the full SHA
    58ed790 View commit details
    Browse the repository at this point in the history