European Union’s General Data Protection Regulation (GDPR) takes effect on May 25, 2018 and organizations must take steps to block cookies or other personally identifiable information before user consent.

YouTube embed iframe by default loads in numerous user tracking cookies. YouTube does offer a cookie-less domain at youtube-nocookie.com

The filter below can be added to WordPress theme or plugin to modify embeds to use this cookie-free domain.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s