Important:
This support area is for Kalium 3 users only.
Support for Kalium 4 has moved to our new platform at support.laborator.co.
If you’re using Kalium 4, please create a new account there using your email and license key. A password will be sent to you automatically.
Hi there,
I was trying to prepare a new website to be conform with the European Data Protection law and just can't avoid the website to use Youtube cookies. The video only uses a locally saved video in the slider revolution header over html5 player. So I would not need the Youtube and Vimeo javascripts to be load. But I tried to unload them as proposed in this article: https://laborator.ticksy.com//ticket/2375442/
But it does not work at all.
Could you help me with this?
Best,
Jens
Hi Jens,
Can you please tell me where are these scripts called? Because our media files are called within the assets folder and not outside the theme.
To inspect this issue please include your credentials and tell me which exact URLs to remove from the document.
To include your credentials click Insert Credentials button in editor toolbar. (See how)
Hi Jens,
I've added the following code in functions.php of child theme and now the Video JS and Vimeo library are not enqueued on page:
// Deregister media library add_action( 'init', function () { wp_deregister_style( 'kalium-videojs-css' ); wp_deregister_script( 'kalium-videojs-js' ); wp_deregister_script( 'kalium-videojs-youtube-js' ); wp_deregister_script( 'kalium-videojs-share-js' ); wp_deregister_script( 'kalium-vimeo-player-js' ); }, 100 );I hope this works fine for you.