| 1 |
# Embed Privacy |
| 2 |
|
| 3 |
Embed Privacy prevents the loading of embedded external content and allows your site visitors to opt-in. |
| 4 |
|
| 5 |
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. |
| 6 |
But Embed Privacy not only protects your visitor's privacy but also makes your site load faster. |
| 7 |
|
| 8 |
All embeds will be replaced by placeholders, ready for you to apply style as you wish. With only a couple of lines of CSS. |
| 9 |
|
| 10 |
By clicking on the placeholder the respective content will then be loaded. |
| 11 |
|
| 12 |
## Requirements |
| 13 |
|
| 14 |
PHP: 5.6 including the `php-dom` extension<br> |
| 15 |
WordPress: 4.7 |
| 16 |
|
| 17 |
## Building |
| 18 |
|
| 19 |
First, you need to install all NPM dependencies. Make sure you have NPM installed first. Then, run this command: |
| 20 |
|
| 21 |
```bash |
| 22 |
npm install |
| 23 |
``` |
| 24 |
|
| 25 |
### Development build |
| 26 |
|
| 27 |
To build assets for development purposes and to watch for changes, run this command: |
| 28 |
|
| 29 |
```bash |
| 30 |
npm start |
| 31 |
``` |
| 32 |
|
| 33 |
### Production build |
| 34 |
|
| 35 |
To build assets for production, run this command: |
| 36 |
|
| 37 |
```bash |
| 38 |
npm run build |
| 39 |
``` |
| 40 |
|
| 41 |
## Contribution |
| 42 |
|
| 43 |
Happy so see your interest in contributing! :heart: |
| 44 |
|
| 45 |
Please consult the [](CONTRIBUTING.mdcontributing guide](CONTRIBUTING.md](CONTRIBUTING.md) for detailed information. |
| 46 |
|
| 47 |
## Who are you, folks? |
| 48 |
|
| 49 |
We are [](https://epiph.yt/Epiphyt](https://epiph.yt/](https://epiph.yt/), your friendly neighborhood WordPress plugin shop from southern Germany. |
| 50 |
|
| 51 |
## Security |
| 52 |
|
| 53 |
For security related information, please consult the [](SECURITY.mdsecurity policy](SECURITY.md](SECURITY.md). |
| 54 |
|
| 55 |
## License |
| 56 |
|
| 57 |
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.mdLICENSE.md](LICENSE.md](LICENSE.md) for complete license. |
| 58 |
|
| 59 |
|