Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhance embed with GDPR-compliant user consent mechanism #137

Open
deployn opened this issue Aug 5, 2024 · 1 comment
Open

Enhance embed with GDPR-compliant user consent mechanism #137

deployn opened this issue Aug 5, 2024 · 1 comment

Comments

@deployn
Copy link

deployn commented Aug 5, 2024

I would love to see an improvement for e.g. the YouTube component to be GDPR compliant by implementing a user consent mechanism before loading any YouTube content or cookies.

Current Behavior

  • An image thumbnail of the YouTube video is displayed initially.
  • Clicking the image loads the full YouTube embed.

Proposed Changes

  1. Keep the initial image thumbnail display.
  2. Implement a consent modal that appears when a user first attempts to play a video.
  3. Store user consent preference using localStorage.
  4. Load YouTube content only after receiving user consent.
@anotheri
Copy link
Contributor

anotheri commented Oct 30, 2024

This is one of the solutions for it: https://cookieconsent.orestbida.com/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants