WordPress YouTube and Vimeo videos security Plugin (GDPR)


Simple YouTube GDPR automatically detects and blocks Iframes from YouTube and Vimeo. Only with a click by the visitor the content is loaded.

Simple YouTube GDPR automatically saves YouTube and Vimeo thumbnails locally without the visitor’s IP address being transmitted to the video platform.


  • Google gets NO cookies
  • No content changes required
  • Allows you to keep YouTube videos under GDPR law

Want more?

If you enjoy this plugin and you want your other content to be safe, consider purchasing the premium version.

Premium features

  • Integrate Vimeo videos securely!


  • YouTube video is replaced with a static preview image and a play button.


  1. Go to “plugins” in your WordPress Dashboard, and click “add new”.
  2. Click “upload”, and select the downloaded zip file.

  3. Activate.

  4. Enjoy!


Does ‘Local’ mean my server downloads all the images?

Yes. Usually you can find a folder /wp-content/uploads/simple-youtube-gdpr-thumbnails with all the images inside

Does youtube send cookies?

No. Plugin replaces the source of iframe with youtube-nocookie.com

Why there are black line above and below?

This is an only image plugin can get from YouTube.

Do I need to have the YouTube API?


Can I change CSS styles?

Yes. Class:
* syg__box – main wrapping <div> (syg__box-%SERVICE% where %SERVICE% can be youtube or vimeo)
* syg__box__img – the thumbnail
* syg__box__text__btn – thumbnail play button
* syg__box-youtube-iframe – video <iframe> (where %SERVICE% can be youtube or vimeo)

What are standard width and height of iframe?

560 x 315

How does this plugin work?
  1. Look for an iframe
  2. Look for an existing thumbnail. If there are none of them, then download it
  3. Replace an iframe with a picture
  4. Apply scripts so that if user clicks iframe appears

Contributors & Developers

“WordPress YouTube and Vimeo videos security Plugin (GDPR)” is open source software. The following people have contributed to this plugin.




  • CSS classes were changed


  • Added Simple HTML DOM lib to run through DOM easily
  • Removed lot’s of code afterwards
  • Now the whole figure is replaced with div with image (not just iframe. It caused troubles)