Skip to content

Embed Privacy prevents loading of embedded external content and allows your site visitors to opt-in.

License

Notifications You must be signed in to change notification settings

epiphyt/embed-privacy

Repository files navigation

Embed Privacy

Embed Privacy prevents the loading of embedded external content and allows your site visitors to opt-in.

Content embedded from external sites such as YouTube or Twitter is loaded immediately when visitors access your site. Embed Privacy addresses this issue and prevents the loading of these contents until the visitor decides to allow loading of external content. But Embed Privacy not only protects your visitor's privacy but also makes your site load faster.

All embeds will be replaced by placeholders, ready for you to apply style as you wish. With only a couple of lines of CSS.

By clicking on the placeholder the respective content will then be loaded.

Requirements

PHP: 5.6 including the php-dom extension
WordPress: 4.7

Building

First, you need to install all NPM dependencies. Make sure you have NPM installed first. Then, run this command:

npm install

Development build

To build assets for development purposes and to watch for changes, run this command:

npm start

Production build

To build assets for production, run this command:

npm run build

Contribution

Happy so see your interest in contributing! ❤️

Please consult the contributing guide for detailed information.

Who are you, folks?

We are Epiphyt, your friendly neighborhood WordPress plugin shop from southern Germany.

Security

For security related information, please consult the security policy.

License

Embed Privacy is free software, and is released under the terms of the GNU General Public License version 2 or (at your option) any later version. See LICENSE.md for complete license.