Skip to main content
drupalreleases
Release: Cms 2.2.3 — Update released for Drupal core (2.2.3)! Release: Easy Breadcrumb 2.0.11 — Minor update available for module easy_breadcrumb (2.0.11). Release: Bootstrap 8.x-3.42 — Minor update available for theme bootstrap (8.x-3.42). Release: Editoria11y Accessibility Checker 3.0.10 — Minor update available for module editoria11y (3.0.10). Release: Editoria11y Accessibility Checker 2.2.24 — Minor update available for module editoria11y (2.2.24). Release: Leaflet 10.4.13 — Minor update available for module leaflet (10.4.13). Release: Flag 5.1.1 — Minor update available for module flag (5.1.1). Release: Layout Paragraphs 3.0.0-beta5 — New beta version released for module layout_paragraphs (3.0.0-beta5). Module Revived: Bootstrap 8.x-3.41 — Theme bootstrap updated after 6 months of inactivity (8.x-3.41). Security Coverage: Component Library — Module component_library now has official Drupal security advisory coverage.

Orejime media

1 sites No security coverage Drupal 10–11

Part of the Orejime ecosystem · 4 projects

View on drupal.org

This module ensures that embedded external media, like YouTube or Power BI, is only loaded after a user gives cookie consent through Orejime. It replaces embeds with a placeholder until consent is granted, and will revert to the placeholder if consent is withdrawn. This provides a privacy-compliant way to handle embedded content without manual configuration for each instance.

Orejime Media ensures external media (such as YouTube, Vimeo, and Power BI) is only loaded after a visitor gives cookie consent through Orejime. Without consent, the module shows a clear placeholder with a link to grant consent or open the media externally.

Features

  • Automatically replaces supported frontend media embeds with a consent placeholder.
  • Dynamically loads the real embed after consent is granted; if consent is withdrawn, it restores the placeholder.
  • Service mapping through config entities (orejime_media_service) with:
    • Consent key => required
    • Media source plugin ID => optional
    • Domain matching (multiple domains supported)
  • Ships with example configurations for YouTube, Vimeo, and Power BI.
  • Useful for privacy-compliant embed handling without manually editing each embed.

Post-Installation

After installing, manage services at:
/admin/config/media/orejime-services

Steps:

  1. Add an “Orejime media service” per external provider, or start from the included examples.
  2. Enter the consent key exactly as used in Orejime (format like power-bi or youtube).
  3. Optionally map a media source plugin and/or provider domains.
  4. Check media display formatters (for example oembed) so the module can match and wrap output.

The module works on existing media field output.

Additional Requirements

  • Drupal core modules: Config, Media
  • A working Orejime consent setup on the frontend.

Orejime configuration

Please refer to Orejime documentation.

Here is an example of apps configuration for orejime:

{
    name: "youtube",
    title: "Youtube",
    cookies: ["pk_id", "pk_ses", "_pk_ref", "_pk_cvar"],
    purposes: ["analytics"],
    default: false
},
{
    name: "vimeo",
    title: "Vimeo",
    cookies: ["pk_id", "pk_ses", "_pk_ref", "_pk_cvar"],
    purposes: ["analytics"],
    default: false
},
  • Optional media-related modules for additional embed providers. ex. Media Power BI

Similar projects

orejime_videos provides similar video consent behavior, while orejime_media is more generic through service mapping (consent key + media source + domains) and can handle non-video embeds like Power BI.

Depends on

Dependencies of the latest stable release

  • config Drupal core
  • media Drupal core

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
4
Tracked since
Aug 2026
Latest release
2 weeks ago
Releases (12 mo)
4 ▲ from 0
Maintenance
Active

Release Timeline

Releases

Version Type Core Release date
1.0.2 Stable 10–11 Sep 18, 2026
1.x-dev Dev 10–11 Sep 18, 2026
1.0.1 Stable 10–11 Sep 16, 2026
1.0.0 Stable 10–11 Aug 12, 2026