Skip to content
This repository was archived by the owner on Mar 14, 2023. It is now read-only.

CE-320 Privacy Enhanced Mode and sandbox for YouTube embeds #1351

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

jbmagination
Copy link

Proposed Changes

This pull request turns on Privacy Enhanced Mode for the YouTube embed. It also adds the sandbox attribute.

Reason for Changes

TL;DR - enhance the privacy of the redirect.

Privacy Enhanced Mode, as described here by Google:

The Privacy Enhanced Mode of the YouTube embedded player prevents the use of views of embedded YouTube content from influencing the viewer’s browsing experience on YouTube. This means that the view of a video shown in the Privacy Enhanced Mode of the embedded player will not be used to personalize the YouTube browsing experience, either within your Privacy Enhanced Mode embedded player or in the viewer’s subsequent YouTube viewing experience.

If ads are served on a video shown in the Privacy Enhanced Mode of the embedded player, those ads will likewise be non-personalized. In addition, the view of a video shown in the Privacy Enhanced Mode of the embedded player will not be used to personalize advertising shown to the viewer outside of your site or app.

The sandbox attributes also limits potential security risks - and in turn, privacy risks with it. If, for whatever reason, youtube-nocookie.com changes hands (which I seriously doubt), they can only access the minimum that is needed for the embed to fully function.

I know that this repository is no longer updated, but I also know that the forums themselves are still being updated. Please make this change 🙏

@benjiwheeler benjiwheeler changed the title Privacy Enhanced Mode and sandbox for YouTube embeds CE-320 Privacy Enhanced Mode and sandbox for YouTube embeds Jan 4, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants