Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: OpenID Connect / OAuth client 3.0.0-alpha9 New alpha version released for module openid_connect (3.0.0-alpha9). Usage Milestone: Google Analytics Module google_analytics crossed 1,000 active installs. Release: GraphQL Compose Codegen 1.1.2 Minor update available for module graphql_compose_codegen (1.1.2). Release: Mapy.com 1.1.3 Minor update available for module mapycom (1.1.3). Release: Ckeditor5 entity browser 3.0.3 Minor update available for module ckeditor5_entity_browser (3.0.3). Release: Ckeditor5 entity browser 3.0.1 Minor update available for module ckeditor5_entity_browser (3.0.1). Release: Ckeditor5 entity browser 3.0.2 Minor update available for module ckeditor5_entity_browser (3.0.2). Release: Teamleader Integration 4.0.2 Minor update available for module teamleader (4.0.2). Release: Change Requests 2.1.9 Minor update available for module change_requests (2.1.9). Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

Media iframe cookie

No security coverage Drupal 10–11
View on drupal.org

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.

Depends on

Dependencies of the latest stable release

  • media Drupal core

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

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

Releases

Version Type Core Release date
1.0.0 Stable 10–11 Jan 22, 2025