Drupal is a registered trademark of Dries Buytaert
Protected Pages 3.0.0 Major update available for module protected_pages (3.0.0). Commerce Core 3.3.8 Minor update available for module commerce (3.3.8). Layout Builder Reorder 2.0.1 Minor update available for module layout_builder_reorder (2.0.1). Ban 1.1.0 Minor update available for module ban (1.1.0). Field Formatter Range 2.0.0 Major update available for module field_formatter_range (2.0.0). Field Formatter Range 8.x-1.8 Minor update available for module field_formatter_range (8.x-1.8). UI Patterns (SDC in Drupal UI) 2.0.18 Minor update available for module ui_patterns (2.0.18). Varbase FAQs 9.2.1 Minor update available for module varbase_faqs (9.2.1). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

This module adds a new media type to embed external content via iframes. It helps comply with GDPR by allowing users to accept cookies before the iframe content is displayed, preventing tracking until consent is given. Once accepted, content from the same provider will load automatically.

Introduction

The media_iframe_cookie module introduces a new media type called "External Media," enabling the integration of an external iframe into the site. This module helps comply with GDPR regulations by allowing users to accept cookies before displaying external media content.

Features

The basic functionality of the media_iframe_cookie module is to manage the display of external iframes on your Drupal site. Unique features include:

  • Integration of external iframes as a new media type.
  • Configuration to list cookies set by external services.
  • Preview of the iframe with an option for users to accept cookies before loading the content.
  • Automatic display of iframes from the same provider after initial acceptance.

This module is useful for sites that need to embed external media while ensuring compliance with GDPR regulations. Use cases include embedding YouTube videos, social media posts, or other external content that sets cookies.

Post-Installation

After installing the media_iframe_cookie module, follow these steps:

  1. Install the module using Drush or the administration interface.
  2. Edit the media_iframe_cookie.settings configuration to add the desired providers (admin configuration coming soon).
  3. Create your external media.

There is no need to manage text formats or other settings beyond the configuration file for providers.

Additional Requirements

This module requires the Media module to be enabled in your Drupal installation.

There are no specific recommended modules or libraries for enhancing the functionality of this project at this time.

Similar projects

There are no known modules providing similar functionality with the same focus on GDPR compliance for external iframes.

Supporting this Module

If you would like to support the development of this module, please consider contributing to the project on Drupal.org or reaching out to the maintainer for other ways to help.

Community Documentation

For additional documentation, tutorials, or walkthroughs, please refer to the module's project page on Drupal.org.

Activity

Total releases
1
First release
Jan 2025
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 1
Maintenance
Dormant

Releases

Version Type Release date
1.0.0 Stable Jan 22, 2025