Feature request: Consent field for GDPR compliance
-
Hey,
I am really happy with lyte in the current state, it is easy to install, use and maintain. But to be compliant with german data protection laws, I need to add some consent text in the preview picture.
Currently I have added it by modifying the php files, but an additional field below the option to cache youtube Thumbnails would be great.What did I do?
inside wp-youtube-lyte.php:
Add 2 classes to $lyte_css: (l. 581)
.consent { text-align: center; padding: 90px 10px 50px 10px; } .consent-text { text-align: center; background-color: #000000; color: #FFF; height: auto; }
Add following part to $lytetemplate: (l.364, 370)
<div class="consent"> <p> <span class="consent-text"> This is a disclaimer. </span></p> </div>
I’ll provide a correct text as soon as I have one.
The result looks like this: https://pasteboard.co/cEhSASI8IUgx.png
I have never contributed to a wp-plugin before, so I have no Idea about the architecture or how to contribute. But if you could add the possibility to display some text there (below the video is not enough as far as I know) it should be compliant with data protection rights.
This would be great because Lyte is the only plugin which does not force me to add an cookie banner to the website.
- The topic ‘Feature request: Consent field for GDPR compliance’ is closed to new replies.