PHPackages                             meom/meom-cookiebot-embed - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. meom/meom-cookiebot-embed

ActiveWordpress-muplugin[Utility &amp; Helpers](/categories/utility)

meom/meom-cookiebot-embed
=========================

MEOM cookiebot message for videos

1.1.1(1y ago)0404GPL-2.0-or-laterPHP

Since Jan 18Pushed 1y ago3 watchersCompare

[ Source](https://github.com/MEOM/meom-cookiebot-embed)[ Packagist](https://packagist.org/packages/meom/meom-cookiebot-embed)[ RSS](/packages/meom-meom-cookiebot-embed/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (3)Dependencies (1)Versions (4)Used By (0)

MEOM Cookiebot embed
====================

[](#meom-cookiebot-embed)

When using Cookiebot, for example Youtube videos might be blocked by Cookiebot

This plugin adds placeholder text and link to Cookiebot settings where user can accept marketing cookies.

> Please accept marketing-cookies to watch this video.

After accepting marketing cookies, video will show up.

Installation
------------

[](#installation)

Note that composer package install this plugin as must-use plugin in `mu-plugins` folder.

Use Composer to install the package.

```
composer require meom/meom-cookiebot-embed
```

Or if living on the edge:

```
composer require meom/meom-cookiebot-embed:dev-main
```

Styles
------

[](#styles)

This plugin doesn't output any styles. Example styles for your theme styles:

```
.wp-block-embed__cookiebot-message {
    aspect-ratio: 16 / 9;
    background-color: #f2f2f2;
    display: grid;
    padding: 1rem;
    place-items: center;
    text-align: center;
}
```

Filters
-------

[](#filters)

By default this plugin adds Cookiebot placeholder text only for Video embed block.

This condition can be changed with `meom_cookiebot_embed_condition` filter.

Code example for adding placeholder text for Youtube and Vimeo videos:

```
/**
 * Change condition when to show Cookiebot message.
 *
 * @param string $condition     Condition.
 * @param string $block_content The block content about to be appended.
 * @param array  $block         The full block, including name and attributes.
 */
function my_prefix_cookiebot_embed_condition( $condition, $block_content, $block ) {
    $condition = 'core/embed' === $block['blockName'] && ( 'youtube' === $block['attrs']['providerNameSlug'] || 'vimeo' === $block['attrs']['providerNameSlug'] );

    return $condition;
}
add_filter( 'meom_cookiebot_embed_condition', 'my_prefix_cookiebot_embed_condition', 10, 3 );
```

Default placeholder text is `Oops! This video will not be shown because you have disabled the marketing cookies. To see the video, accept marketing cookies.`. Code example for changing that message:

```
/**
 * Filters the placeholder text added to the embed block.
 *
 * @param string $text Placeholder text.
 */
function my_prefix_cookiebot_placeholder_text( $text ) {
    $text = __( 'Oops! This embed will not be shown because you have disabled the marketing cookies. To see the embed, accept marketing cookies.', 'kala' );
    return $text;
}
add_filter( 'meom_cookiebot_placeholder_text', 'my_prefix_cookiebot_placeholder_text' );
``
```

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance33

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 78.9% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~244 days

Total

3

Last Release

727d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/d9db54267e986685a36b1d46b3858514e2458cd7768d7cee62d74070caa451b2?d=identicon)[MEOM](/maintainers/MEOM)

---

Top Contributors

[![samikeijonen](https://avatars.githubusercontent.com/u/1820415?v=4)](https://github.com/samikeijonen "samikeijonen (15 commits)")[![giraffewoods](https://avatars.githubusercontent.com/u/2409670?v=4)](https://github.com/giraffewoods "giraffewoods (4 commits)")

### Embed Badge

![Health badge](/badges/meom-meom-cookiebot-embed/health.svg)

```
[![Health](https://phpackages.com/badges/meom-meom-cookiebot-embed/health.svg)](https://phpackages.com/packages/meom-meom-cookiebot-embed)
```

###  Alternatives

[rs/laravel-version-control

Foundations for making your app version controlled. Provides migration, blueprint and base models. Will make your app GxP compliant if you exclusively use the VC models and table structure as set out in this package.

1227.5k](/packages/rs-laravel-version-control)[mad-web/laravel-seoable

Easy to map your eloquent fields to seo properties

407.6k](/packages/mad-web-laravel-seoable)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
