YouTube Embed Iframe
Introduction
YouTube Embed iframe is a Lightweight Plugin for Joomla this YouTube Embed iframe is a modern, lightweight Joomla 6 content plugin that allows you to embed YouTube videos in articles using a simple shortcode syntax. It focuses on performance, responsiveness, and GDPR compliance, while avoiding heavy external libraries or API dependencies.
YouTube Embed iframe plugin supports standard YouTube videos, YouTube Shorts, autoplay and playback parameters, optional GDPR consent handling, and a click-to-play “lite” embed to improve page speed.
⭐️ Key Features
✅ Simple Shortcode Syntax
Embed videos easily using:
{yt VIDEO_ID}
✅Supports:
- Full YouTube URLs
- Shortened youtu.be links
- YouTube Shorts URLs
✅ Playback Parameters
- Control video behavior directly in the shortcode:
{yt VIDEO_ID autoplay=1 mute=1 loop=1 start=30}
- Supported parameters: [autoplay/ mute/ loop/ start (seconds)]
✅ Lite Click-to-Play Embeds
- Videos are loaded only after user interaction, reducing:
- Initial page load time
- External requests
- Render blocking resources
- Perfect for performance-focused sites and Core Web Vitals.
✅ GDPR-Friendly Consent Mode
- Optional “Accept & Play” consent overlay:
- Enabled or disabled via plugin settings
- Uses youtube-nocookie.com (privacy-enhanced mode)
- Consent stored locally in the browser
- No cookies loaded before user interaction
✅ Fully Responsive & Shorts-Aware
- Automatically adapts to screen size
- Detects YouTube Shorts and uses vertical aspect ratio
- Works on desktop, tablet, and mobile devices
✅ Optional Channel Restriction
- Restrict embeds to a specific YouTube Channel ID: (Beta mode - under development and observation)
- If enabled, videos from other channels can be filtered
- Safe, non-blocking implementation (never hides videos by mistake)
- No YouTube API key required
✅ Joomla compatibility native & Clean Code
- Uses modern Joomla APIs
- No deprecated methods
- No external JavaScript libraries
- No database tables required
✅ Plugin Configuration Options
- Available in the plugin settings:
- Enable / disable GDPR “Accept & Play”
- Enable privacy-enhanced youtube-nocookie.com
- Optional YouTube Channel ID restriction (beta - under development)
✅ Usage Examples
- Basic embed:
{yt https://www.youtube.com/watch?v=JEjsAh36Rcg}
Autoplay (muted):
{yt https://www.youtube.com/watch?v=JEjsAh36Rcg autoplay=1 mute=1}Start at 30 seconds:
{yt https://www.youtube.com/watch?v=JEjsAh36Rcg start=30}YouTube Shorts:
{yt https://youtube.com/shorts/dQw4w9WgXcQ}
✅ Ideal For
- Performance-optimized sites
- GDPR-compliant European websites
- Blogs, news sites, and content portals
- Users who want simple embeds without bloat (no need for coding knowledge)
✅ Summary
YouTube Embed iframe provides a fast, privacy-friendly, and future-proof way to embed YouTube videos in Joomla — without sacrificing usability, performance, or compliance.
➡️ Video tutorial and step-by-step guide on how to use
https://youtu.be/nEOquKSIOv4
YouTube Embed Iframe
- Version:
- 1.0.0
- Developer:
- WeDevlops.com
- Last updated:
-
Feb 21 2026
6 hours ago - Date added:
- Feb 17 2026
- License:
- GPLv2 or later
- Type:
- Paid download
- Includes:
- p
- Compatibility:
- J4 J5 J6
Share