Joomla 6.2.1 Security Update: 58 Fixes, and What It Means for Joomla 5 Sites PHP 8.6 Is Out: New Features With Examples, and When Joomla Will Use Them Next File Manager 6.1.0: share links, Trash, a phone app and a Health check Next Exams 6.3.0: exam parts, scaled scores, listening and speaking tests Next Restaurant 6.1.0: move your data in, run payroll, and connect other systems
NextSoftware
Smart Local Youtube

Smart Local Youtube

Smart Local Youtube is a cookie consent manager for YouTube videos on Joomla. It removes every YouTube embed from your pages until the visitor agrees, privacy-enhanced youtube-nocookie.com embeds included, and shows a consent box or a click-to-load placeholder in its place.

7 built-in patterns find standard iframes, youtube-nocookie.com embeds, the YouTube IFrame API script, entity-encoded iframes from page builders, Smart Slider 3 video layers, the YouTube Gallery component and oEmbed links. The consent box is an overlay in one of four positions or an inline click-to-load placeholder in each video's spot, with your own poster image and a play button. Five color themes, dark mode, browser-language geo-detection and WCAG 2.1 AA accessibility are built in.

For video widgets the built-in patterns don't know, add your own regex in the Expert Mode tab and check what matched with a debug view only Super Users see. Runs on Joomla 4.4, 5 and 6, in 23 languages.

plugin Joomla 4 Joomla 5 Joomla 6
Trusted by agencies & professionals
Screenshots

See it in action

FEATURES

Everything you need

Cookie Consent

Consent collection with safe defaults and no third-party consent service.

Accept & Decline Dialog

Clear choices with equally prominent buttons on every consent box.

Configurable Cookie Lifetime

Session-based or persistent from 1 to 365 days, valid site-wide.

Privacy Policy Link

Select any Joomla menu item as the privacy page; the consent dialog links to it automatically.

Secure Cookies

HttpOnly and SameSite=Lax flags, plus Secure when Force HTTPS is set to Entire Site.

CSRF Protection

Tamper-proof submission with Joomla's session token on every form.

YouTube Detection

Catches YouTube embeds wherever they live in your pages.

7 Built-in Patterns

Standard iframes, youtube-nocookie.com embeds, the IFrame API script, entity-encoded iframes, Smart Slider 3 video layers, the YouTube Gallery component, and oEmbed links.

Privacy-Enhanced & Standard Embeds

Blocks both youtube.com/embed and the youtube-nocookie.com variant, which still contacts Google.

Custom Regex Pattern

Add your own pattern for proprietary or custom video widgets the built-ins miss.

Debug Mode

Lists exactly which patterns matched and how many times, shown to logged-in Super Users only.

Non-Destructive

YouTube code is removed from the page output only; your content is never modified.

Placeholder Images

Turn each blocked video into a clickable card instead of an empty gap.

Inline Placeholders

Each video is replaced in its own spot by a click-to-load card with configurable width and height.

Four Image Choices

Icon only (privacy-safe), one custom image for all videos, per-video images, or the opt-in YouTube thumbnail.

Per-Video Mapping

Map individual videos to their own poster images; paste the video ID or simply its YouTube URL.

Play-Button Overlays

None, light, dark, or the red YouTube-style button over the poster.

Privacy-First Default

Ships with the icon-only mode, so no request reaches Google before consent.

Design & Themes

A consent box that fits your brand, not the other way round.

5 Positions Including Inline

Center modal, full-width bottom bar, bottom-right, bottom-left, or inline in place of each video.

5 Color Themes

Clean, Midnight, Forest, Slate, and Warm — each with a tailored dark palette.

Custom Colors

Color pickers for background, text and buttons, for light and dark mode, applied to the box and the placeholders.

4 Animations

Fade in down, up, left or right for the overlay positions.

Custom Title, Text & Icon

Override the defaults per site without editing language files.

Dark Mode

Automatic or forced dark mode across every theme.

Auto Detection

Reads the OS/browser preference via prefers-color-scheme.

Force Mode

Override visitor settings with always-light or always-dark.

Custom Dark Palette

Define separate dark colors when using the custom theme.

Geo-Detection

Only ask for consent where you want to.

Language-Based Detection

Reads Accept-Language — no IP geolocation, no third-party APIs.

EU, EEA & UK Coverage

The main languages of the EU member states, Norway (no, nb, nn), Iceland, and UK/Ireland English tags.

3 Behaviors for Other Visitors

Auto-agree, show the consent box, or skip the plugin entirely.

Region Toggles

Enable EU, EEA, and UK regions independently.

Safe Defaults

Visitors with no language header always see the consent dialog.

Accessibility

WCAG 2.1 AA for every visitor.

Keyboard Navigation

Full Tab, Shift+Tab, Enter and Space support; Escape moves focus to the close button.

Modal Focus Trap

The center modal keeps focus inside while open; bar and corner boxes leave focus on the page.

Screen Reader Support

ARIA dialog role, labels and a live region on the consent box.

Reduced Motion

Respects prefers-reduced-motion — animations disabled when requested.

Scroll Position Kept

The page returns to where the visitor was after the consent reload.

Developer

Modern Joomla 4.4/5/6 architecture with no deprecated APIs.

Namespace-Based Plugin

SubscriberInterface event registration via getSubscribedEvents()

Dependency Injection

Clean DI through services/provider.php

WebAssetManager

All assets loaded via the joomla.asset.json registry

Installer Checks

Refuses PHP older than 8.1 or Joomla older than 4.4 with a readable message, before anything is changed

Demo Mode

Show the consent box on a demo page with a Demo badge, without blocking videos

Multilingual

23 languages included (all EU/EEA languages that need consent banners); add any other with standard .ini files

Open Source

GPL v2 or later licensed and upgrade-safe

SIMPLE PRICING

Choose your growth plan

Get started with Smart Local Youtube today. Upgrade anytime as your needs grow.

Developer

€ 15 1-Year License

Business

€ 25 2-Year License

Agency

€ 35 3-Year License
Instant Digital Delivery Download immediately
Secure Payment Powered by Paddle
Auto-Updates via Joomla Native Joomla updater
CRA Support Period Free for 5+ years
Used by Joomla Professionals Community trusted
SECURITY & COMPLIANCE

Built for the EU Cyber Resilience Act

Free security updates for at least 5 years from your purchase

Every customer, whether their subscription is active or lapsed, can download security fixes from the Customer Portal throughout their support period, in line with the EU Cyber Resilience Act.

Frequently Asked Questions

Getting Started

Install the plugin ZIP through System > Install > Extensions, then enable it under System > Manage > Plugins. The consent manager activates automatically on any front-end page that contains YouTube code.

Out of the box: standard youtube.com/embed iframes, privacy-enhanced youtube-nocookie.com iframes, the YouTube IFrame API script, HTML-entity-encoded iframes from page builders, Smart Slider 3 video layers, the YouTube Gallery component, and TinyMCE/JCE oEmbed youtu.be links. For anything else, add a Custom Regex Pattern in the Expert Mode tab.

In the Content tab, use the Privacy Policy Page dropdown to pick any Joomla menu item. The consent box links to that page automatically.

Yes. The Content tab lets you set a custom title, consent text and icon class. These override the default language strings — no language file editing required.

Privacy & Compliance

It handles the technical part of consent: detected YouTube code is removed from the page until the visitor clicks Load YouTube, so no video iframe loads, no YouTube cookie is set and no request goes to YouTube before then. Declining is just as easy. Two optional settings change this: the opt-in YouTube thumbnail placeholder mode contacts Google before consent, and with geo-detection on, visitors outside your consent regions are auto-accepted by default (you can change this). Your privacy policy and wording complete the picture.

The default placeholder mode uses an icon only, so nothing is requested from Google before consent. If you switch to the YouTube thumbnail mode, the plugin loads poster images from img.youtube.com — which sends the visitor's IP to Google before they consent. Only enable that mode if your privacy policy explicitly permits it. The single custom image and per-video modes use images from your own site.

The plugin reads the visitor's Accept-Language header. If any language matches an EU, EEA or UK/Ireland code, the consent dialog is shown. No IP geolocation and no external APIs; it detects language, not location.

Three options under Geo-Detection: Auto-agree silently shows the videos, Show consent box lets the visitor decide, or Skip plugin entirely leaves the page untouched for that visitor. Default is auto-agree.

Customization

Pick one of 5 built-in themes or select Custom colors to unlock the color pickers. Set background, text, accept button and decline button colors independently — for both light and dark mode, on the consent box and the inline placeholders.

Inline (replace video) replaces each detected video in place with a click-to-load card rather than showing an overlay. You can set its width percentage and pixel height, choose the play-button style, and set a poster image per video. Useful when videos are embedded inside article content.

Yes. Set Placeholder Image to Per-video custom images and add a row per video with its ID (or its YouTube URL) and an image. Videos without a row fall back to the generic icon.

Technical

Joomla 4.4 or later, 5.x and 6.x, with PHP 8.1 or higher. The installer checks both and stops with a clear message on an older version. The plugin uses namespaced classes, SubscriberInterface event registration and WebAssetManager.

Cookie name sly-consent, value agree or decline. Set with HttpOnly, Secure (when Force HTTPS is set to Entire Site) and SameSite=Lax, for the whole site. Lifetime is configurable: session-only or 1–365 days.

23 languages are included: English, German, French, Spanish, Italian, Portuguese, Romanian, Dutch, Swedish, Danish, Finnish, Norwegian, Estonian, Polish, Czech, Slovak, Hungarian, Slovenian, Croatian, Bulgarian, Greek, Latvian and Lithuanian. Joomla uses the one that matches your site language automatically. Every text can also be changed with a Joomla language override, and any other language can be added with standard .ini files.

No — with one optional exception. YouTube detection, consent handling and geo-detection run on your server. The only time the plugin causes a request to Google before consent is when the YouTube thumbnail placeholder mode is enabled. Joomla's update system contacts our update server when it checks for updates.

All Extensions