• Hello.

    Can you gust tell me what the best practice would be?

    In my scenario I currently have a small page in development – so I could perform this task manually. I however am wondering if there is a better way.

    The way I embed my Videos is trough Gutenberg with the YouTube-Block. Not sure if this is even the best practice these days with the privacy-act (in Europe) in place – some sources are mentioning embedding an iFrame.

    The way I currently am attempting it, it seems to work fine with the free Version of Complianz. The Video is not loaded with the site, but rather an image is shown, and the user must accept the cookies by clicking on the image first.

    My issue is, that when I started to create the site, I was not fully aware of the bureaucratic GDPR monster, so all the linked Videos are “regular” links, not the nocookie-Link.

    An example URL with a randomly chosen Video:
    Standard share-link could either be:
    1. “https://youtu.be/Aj2_2KmAzz0”, or
    2. “https://www.youtube.com/watch?v=Aj2_2KmAzz0”

    I thought if I replace either domain above with
    “www.youtube-nocookie.com”, everything would be fine.

    Youtube will not accept such link however.

    So I basically have three questions:

    1. Would one use the enhanced privacy mode provided by YT with the Youtube-Block in Gutenberg, or is this the wrong approach to begin with?

    2. Which link would I use, if I would like to link to the Video with the enhanced privacy/nocookie method trough the Youtube-Block with Gutenberg?

    3. Since I am not sure if all my linked Videos are either above URL-example 1 or 2, should an URL-change even be attempted with wp-cli search-replace?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Matthias Kittsteiner

    (@kittmedia)

    Hi there,

    please keep in mind that this support forum is only for the plugin “Embed Privacy”. As far as I understand, your question is more general.

    However, if you use Embed Privacy, it automatically handles the loading of embeds only after explicit consent of the user as well as automatically transforming YouTube links to the nocookie URL if they have been added via the YouTube embed block.

    Best regards
    Matthias

    Thread Starter bestcases

    (@bestcases)

    Thank you and sorry – don’t really know why this topic landed in this subforum. “Embed Privacy” sounds interesting, but in my scenario I am concerned that it might interfere with the functions of Complianz.

    @admin: I will post my initial question again, in the general forum. If OK with you, combine the threads, or delete one. Thank you.

    Plugin Author Matthias Kittsteiner

    (@kittmedia)

    I don’t know how Complianz work. If you can disable blocking the embeds via Complianz, it should work just fine. I think it’s worth trying. ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Best practice to cange existing youtube.com-Links to youtube-nocookie.com’ is closed to new replies.