9,000+
August 25, 2026
December 12, 2018
★★★★★ Rated 4.8/5 — Trusted by 9,000+ WordPress sites
Create responsive, modern & dynamic video galleries by simply adding a YouTube USERNAME, CHANNEL, PLAYLIST, SEARCH KEYWORDS, or a custom list of video URLs.
Automatic YouTube Gallery is the easiest way to embed a YouTube video gallery, feed, or playlist on your WordPress website. Connect your YouTube source once — the plugin imports your videos, builds a beautiful video gallery, and keeps it up to date automatically every time you publish a new video on YouTube. No copy-pasting embed codes, ever again.
The only dynamic YouTube gallery plugin with deeplinking capabilities — every video in your gallery can have its own shareable, search-engine-friendly URL.
[automatic_youtube_gallery id="123"].Try every premium feature free for 7 days — no payment details required.
Do you speak another language? Want to contribute in a meaningful way to Automatic YouTube Gallery? There’s no better way than to help us translate the plugin. This plugin is translation ready and you can translate to your language easily. Once finished, please reach out to us here to get your language file included in the core.
We do have documentation on the plugin.
Still, Having Issues? We are just an email away. Please write to us describing your issue using the “Contact” form available under our plugin’s menu. You should receive a reply within 24 hours (except Sunday).
Also, we answer all support requests on the WordPress.org support forum.
For more detailed instructions visit plugin documentation.
Create a gallery from the plugin’s Gallery Builder, then place it anywhere using its shortcode — e.g. [automatic_youtube_gallery id="123"] — the Gutenberg block, or the sidebar widget. All three methods work with posts, pages, custom post types, and page builders.
Yes, a free YouTube Data API key is required to fetch your videos. It only takes a few minutes — please follow our get YouTube API key instructions.
Yes. Choose an import schedule per gallery (hourly, daily, weekly, or monthly) and a background sync keeps it up to date automatically. Need the newest videos right away? Open the gallery and click “Update Gallery” for an instant refresh.
Yes. Each gallery has a “Filter by Duration” option — set it to “Shorter Than 60 seconds” to build a Shorts-only gallery, or “Longer Than 60 seconds” to hide Shorts. There is also a 9:16 vertical aspect ratio for Shorts thumbnails and the player.
Yes. Select the “Livestream” source type to auto-embed the currently live video from any YouTube channel. When the channel is not streaming, the plugin displays a customizable fallback message instead.
No. Videos are imported into your own database and served from there, API responses are cached, images and iframes are lazy-loaded, and all CSS/JS files are minified and loaded only where a gallery is present.
Yes. You can require cookie consent before any video is played, show a custom consent message, and enable YouTube’s Privacy Enhanced Mode (youtube-nocookie.com) so no tracking cookies are set until the visitor actually plays a video.
Yes, the plugin is fully compatible with popular page builders like Elementor, WPBakery, Divi, and more.
[automatic_youtube_gallery id="123"] — to any section or module of your favorite page builder.This flexibility ensures you can integrate your video gallery effortlessly, regardless of your preferred page builder.
First of all, don’t worry! I promise you that we can get it looking right. This can be caused by a multitude of things, so try the following (in the order of appearance):
If nothing works, please describe your issue and submit a ticket on our plugin support forum, you should receive a reply within 24 hours (except Sunday).
Yes, it is. However, do not “network-activate” the plugin. Activate it only on the subsites on which you need the gallery. This can be done under “Plugins => Add New” as the Administrator user.
ayg_ajax_cache_duration filter hook for sites that need to change it.All of the security issues above were discovered and reported responsibly to us by Mohammed Abd Alrahman.
ayg_ajax_cache_duration filter hook.ayg_get_gallery_source(), ayg_db_gallery_has_videos(), ayg_sign_page_token() and ayg_verify_page_token() helper functions.[automatic_youtube_gallery id="123"] — that you can reuse anywhere and manage from one place.iv_load_policy) player option, as YouTube retired video annotations and the parameter no longer has any effect.ayg_theme_classic_params, ayg_theme_inline_params, ayg_theme_playlist_params, ayg_theme_slider_params, ayg_theme_slider_inline_params, and ayg_theme_slider_popup_params filter hooks for customizing player parameters per theme.ayg_theme_slider_slick_options filter hook for customizing Slick carousel options across all slider themes.ayg_search_form_params filter hook for customizing search form parameters. The previous ayg_search_form_args hook is deprecated but retained for backward compatibility.ayg_autoflush_rewrite_rules_in_admin filter hook to optionally enable rewrite rule checks in admin contexts (runs on public pages only by default).ayg_transient_keys, ayg_channel_ids, and ayg_playlist_ids options to prevent lookup caches from being loaded on every page request site-wide..htaccess rewrite) to soft (database only), avoiding unnecessary file I/O on the front end.| Version | Download | Type |
|---|---|---|
| 2.9.1 | Download | Stable |
| 2.9.0 | Download | Stable |
| 2.8.1 | Download | Stable |
| 2.7.2 | Download | Stable |
| 2.7.1 | Download | Stable |
| 2.6.5 | Download | Stable |
| 2.6.4 | Download | Stable |
| 2.6.3 | Download | Stable |
| 2.6.1 | Download | Stable |
| 2.6.0 | Download | Stable |
| 2.5.9 | Download | Stable |
| 2.5.6 | Download | Stable |
| 2.5.5 | Download | Stable |
| 2.5.2 | Download | Stable |
| 2.4.3 | Download | Stable |
| 2.3.9 | Download | Stable |
| 2.3.8 | Download | Stable |
| 2.3.6 | Download | Stable |
| 2.3.5 | Download | Stable |
| 2.3.3 | Download | Stable |
| 2.3.2 | Download | Stable |
| 2.2.0 | Download | Stable |
| 2.1.0 | Download | Stable |
| 2.0.0 | Download | Stable |
| 1.6.5 | Download | Stable |
| 1.6.4 | Download | Stable |
| 1.6.3 | Download | Stable |
| 1.6.2 | Download | Stable |
| 1.6.1 | Download | Stable |
| 1.6.0 | Download | Stable |
| 1.5.0 | Download | Stable |
| 1.4.0 | Download | Stable |
| 1.3.0 | Download | Stable |
| 1.2.0 | Download | Stable |
| 1.1.0 | Download | Stable |
| 1.0.0 | Download | Stable |
| Development | Download | Trunk |