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
Keep the initial image thumbnail display.
Implement a consent modal that appears when a user first attempts to play a video.
Store user consent preference using localStorage.
Load YouTube content only after receiving user consent.
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
Proposed Changes