Support » Plugin: WP YouTube Lyte » Info-Text possible?

  • Resolved HighKay

    (@hlorenz)


    Hi,
    I would like to display an Info-Text like “This site uses WP Video Lyte, so only if you click on the Play Button YouTube will get some information about you using this site, else no information is send to YouTube” – is this possible?

    Would be a nice feature to show my websites GDPR compliance ๐Ÿ™‚

    Best rgards
    Heike

    The page I need help with: [log in to see the link]

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Optimizing Matters

    (@optimizingmatters)

    the statement is not 100% correct, as the thumbnails are (currently still) loaded from the YouTube servers ๐Ÿ™‚

    would you like to add that underneath each video? might be better suited for a “privacy/ gdpr”-page (which you could simply add yourself)?

    frank

    Hi Frank,
    yes, I would like to add it underneath each video, as I assume nearly nobody reads the “Datenschutzerklรคrung” bevor they look at the video. I would put the info in the DSE too, but the infobox would be an extra tipp for my readers ๐Ÿ™‚

    The Text of the statement I mentioned is just an idea, that needs improving…
    Maybe you could also provide a correct text for the infobox, as you know best, what the plugin exactly does ๐Ÿ™‚

    Thanks a lot for your fast reply
    Heike

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    OK, try this code snippet (you can use the code snippet plugin to safely and easily manage this and other snippets);

    
    add_filter('lyte_match_postparse_template','add_gdpr_note');
    function add_gdpr_note($lyte_template) {
      $gdpr_div = '<div class="lyte_gdpr">This site uses WP YouTube Lyte to embed YouTube video\'s. The thumbnails are loaded from YouTube servers, but those are not tracked by YouTube (no cookies are being set). Upon clicking on the play button however, YouTube can and will collect information about you.</div>';
      return $lyte_template.$gdpr_div;
    }

    You can style the div by targetting the lyte_gdpr class ๐Ÿ™‚

    PERFECT!!!!!!!!!!!!!!!!!!!!

    Thank you so much ๐Ÿ™‚

    Careful, this doesn’t solve the connection issue, HighKay.

    It does:

    The thumbnails are loaded from YouTube servers, but those are not tracked by YouTube (no cookies are being set). Upon clicking on the play button however, YouTube can and will collect information about you.

    Cookies are not part of the GDPR. It’s about the IP being transmitted to the Youtube servers when your browser requests the thumbnail.

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    PERFECT!!!!!!!!!!!!!!!!!!!!

    Thank you so much ๐Ÿ™‚

    you’re welcome, feel free to leave a review of the plugin (and support) here @hlorenz! ๐Ÿ˜‰

    Cookies are not part of the GDPR. Itโ€™s about the IP being transmitted to the Youtube servers when your browser requests the thumbnail.

    ideally I’ll have time to whip something up to have the images loaded locally, that way YouTube is not contacted at all which I agree would be better.

    frank

    Cool, thank you, Frank ๐Ÿ™‚

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Info-Text possible?’ is closed to new replies.