Download the PHP package druidfi/iframe_cookie_consent without Composer
On this page you can find all versions of the php package druidfi/iframe_cookie_consent. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download druidfi/iframe_cookie_consent
More information about druidfi/iframe_cookie_consent
Files in druidfi/iframe_cookie_consent
Package iframe_cookie_consent
Short Description Adds Ckeditor plugin which converts iframe embeds to support cookie consent
License GPL-2.0-or-later
Homepage https://github.com/druidfi/iframe_cookie_consent
Informations about the package iframe_cookie_consent
Drupal module drupal/iframe_cookie_consent
Website content loaded in iframes from third party content providers, for example YouTube may set cookies and thereby require a visitor's consent.
In this module
This module adds Ckeditor plugin which convert Youtube iframe embeds to support cookie consent's. You can choose one of
these values: preferences, statistics, or marketing as data-cookieconsent attribute.
You will find these settings under Content authoring / Iframe Cookie Consent:
How to use
Go Configuration / Content authoring / Text formats and editors and edit text format which you want to use Iframe Cookie Consent module.
Now under Enabled filters you will see Iframe cookie consent which you just enable
Field support
YouTube video can be embedded to content in many way so the easiest way to support fields are create or modify field template file.
Here is an example.
All versions of iframe_cookie_consent with dependencies
ext-dom Version *
ext-libxml Version *
drupal/core Version ^9.5 || ^10.0
masterminds/html5 Version ^2.7