Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information