This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

WordPress YouTube, Vimeo and more elements security Plugin (GDPR)


Install, activate, and done!
No content changes required.

WordPress YouTube security Plugin automatically detects and blocks Iframes from YouTube. Only with a click by the visitor the content is loaded.

Plugin automatically saves YouTube thumbnails locally without the visitor’s IP address being transmitted to the video platform.

Solves your problems

  • Blocking Google/YouTube cookies
  • 100% Plug-n-play functionality
  • No configuration required (it just works)
  • Allows you to keep YouTube videos under GDPR law
  • Scans Embedded content and blocks it
  • Works silently behind the scenes to protect your site visitors
  • Regularly updated and “future proof”


This plugin does not collect or store any user data. It does not set any cookies. It connects to content holders third-party locations on the server side – no affect on users. Thus, this plugin does not affect user privacy in any way.

Works perfectly with Gutenberg Block Editor

Want more?

If you enjoy blocking YouTube videos and you want your other content (Vimeo, Flickr, Issuu and more) to be safe, consider purchasing the premium version.

Premium features

  • All free features
  • Integrate Vimeo videos securely!
  • Integrate Issuu content securely!
  • Integrate Flickr photos securely!
  • Integrate Instagram securely!
  • Integrate TED securely!


  • YouTube video is replaced with a static preview image and a play button.
  • Twitter content is blocked and will be loaded with a 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.

What about no cookie youtube?

Please replace with when inserting a youtube link.

Why there are black line above and below?

This is an only image plugin can get from YouTube.

Do I need to have any API?


Does plugin make changes to my .htaccess file?

Absolutely not. Unlike other security/firewall plugins, YouTube security Plugin makes no changes to any .htaccess file.

Can I change CSS styles?

Yes. Class:
* syg__box – main wrapping <div> (syg__box-%SERVICE% where %SERVICE% can be youtube, vimeo, issuu, …)
* syg__box__img – the thumbnail
* syg__box__text__btn – thumbnail play button
* syg__box__text – Privacy Policy text

What are sizes of preview image?

It is trying to reach 100% of your content. (imitates WP iframe styles)

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
Got a question?

Send any questions or feedback via my contact site.


There are no reviews for this plugin.

Contributors & Developers

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




  • html5
  • aria


  • Empty title and thumbnail if nothing provided


  • HTML code passed via
  • embed_oembed_html filer used


  • Issuu Blocker Integrated
  • Flickr Blocker Integrated
  • CSS classes changed


  • Plans are added (Vimeo)
  • 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)