Home  /  News  /  How to block youtube, vimeo, and other cookies from video providers by using the Cookies Policy Notification Bar Joomla! plugin, and the AllVideos Joomla! plugin.

How to block youtube, vimeo, and other cookies from video providers by using the Cookies Policy Notification Bar Joomla! plugin, and the AllVideos Joomla! plugin.

In this tutorial, I will show you how to block Youtube, Vimeo, and other cookies from video providers at your Joomla! website by using the “Cookies Policy Notification Bar – Joomla! Plugin” and the “AllVideos – Joomla! Plugin“.

STEP 1

Download and Enable the “AllVideos” free plugin by JoomlaWorks. https://www.joomlaworks.net/extensions/free/allvideos

STEP 2

In your Joomla! folder, navigate to the directory “\plugins\content\jw_allvideos\jw_allvideos\tmpl\“, and create the folder “GDPR_Compliant“.

STEP 3

In the same folder, create the file “\plugins\content\jw_allvideos\jw_allvideos\tmpl\GDPR_Compliant\default.php” and add the below PHP code.

STEP 4

Create a folder witht the name “css”, and inside the “css” folder, create the “\plugins\content\jw_allvideos\jw_allvideos\tmpl\GDPR_Compliant\css\template.css” file with the below CSS code.

STEP 5

Navigate to the plugin settings, Extensions > Plugins > AllVideos (by JoomlaWorks), and select the “GDPR_Compliant” template.


RESULTS

A. This is how it looks without the “GDPR_Compliant” AllVideos template.

B. This is how it looks with the “GDPR_Compliant” AllVideos template, and before the user accepts the cookies policy.

C. This is how it looks with the “GDPR_Compliant” AllVideos template, and after the user accepted the cookies policy.

With this method, the videos are not displayed before the user accepts, and the cookies from video providers are not loaded by default.

We used the “Cookies Policy Notification Bar – Joomla! Plugin” and the “AllVideos – Joomla! Plugin“.

Leave a Reply

Your email address will not be published. Required fields are marked *

We are a young team of professionals and internet lovers who specialise in the development of professional websites and premium plugins for WordPress and Joomla! CMS.
Copyright © 2014-2020 Web357. All Rights Reserved.
Joomla! ® name is used under a limited license from Open Source Matters in the United States and other countries.
Web357 is not affiliated with or endorsed by Open Source Matters or the Joomla! Project.