Okay
  Public Ticket #2795955
Youtube cookies
Closed

Comments

  •  26
    Sira started the conversation

    Hi, guys:

    Even though I don't have any youtube video embedded -I have html5 videos on my rev sliders-, my page loads 3 Youtube cookies, and I want to get rid of them.

    Any idea?

    Thanks!


    https://prisbat.com/

  • [deleted] replied

    Hi Sira,

    A new Kalium update will arrive soon and will fix this problemsmile.png

    Thanks!

  •  26
    Sira replied

    Hi, Ylli:

    Nice to hear that. Do you know how long it will take? We are working with layers to set alright the cookie policy, and as these cookies are third party ones, they complicate everything a lot...

    Thanks again

    Sira

  • [deleted] replied

    Hi Sira,

    The update should come next week.

    If you want I can disable "VideoJS YouTube" module to not show on your site and you will be guaranteed that no YouTube API will be loaded, simply add this code below:

    add_action( 'wp_footer', function () {
        wp_dequeue_script( 'kalium-videojs-youtube-js' );
    } );

    This should work for you until we release a fix in the next theme updatesmile.png

    Thanks!

  •  26
    Sira replied

    Nicer! :)

    Where do I put it, on the functions.php file? :)

  • [deleted] replied

    Yes.

  •  26
    Sira replied

    Thanks!!

    Have a nice day :)

    Sira

  • [deleted] replied

    Thanks, you too!

    I will set this ticket as solved from here.