WordPress OSINT, maintenance or security needs? Reach out!
TLDWP

Plugin: youtube-channel (Used by 1,484 domains)

My YouTube Channel

Add My YouTube Channel widget to the widget area or shortcode to post/page content, set Channel ID or Playlist ID, chose resource to use and keep defaults for all other options. And voila! You will get the latest video from chosen YouTube channel or playlist.

IMPORTANT My YouTube Channel does not support Live Streams and does not have Gutenberg Block. Use Shortcode Block or Classic Block to insert shortcode to page/post content.

If you like our plugin and find it useful, please write a review and rate it.

For a manually picked set of videos from YouTube, check out Easy YouTube Gallery.

Features

  • Show latest videos from My YouTube Channel (ordered in reverse chronological order related to the creation date), or from Playlist
  • Option to get a random video from any of two resources
  • Responsive (one full-width video per row) or non-responsive
  • Preferred aspect ratio relative to width (16:9 and 4:3)
  • Custom width for video embeded object (default is 306px)
  • Four modes to display video: thumbnail (default), HTML5 (iframe), HTML5 Asynchronous (iframe2) abd Playlist Embed (playlist)
  • Thumbnail mode opens the video in lightbox
  • [NEW] Optionally store thumbnail images locally for improved speed performance and cache policy
  • Enhanced Privacy – please note that display mode HTML5 (IFRAME) Asynchronous (shortcode parameter iframe2) does not support Enhanced Privacy due to YouTube API limitations
  • Hide or show video title above/below/inside video wrapped to HTML tag by your choice (h3, h4, h5, span or div)
  • Custom feed caching timeout
  • Optional video autoplay with optional muted audio
  • (Optional) TinyMCE button on post/page edit (can be disabled on General plugin settings page), which open a shortcode GUI generator to help you build a shortcode
  • Show link to channel/handle below videos (vanity and legacy username are deprecated since v3.23.0)
  • Final look is highly customisable thanks to classes for each element of YTC block!

Requirements

For a fully functional plugin, PHP 7.4 or newer has required! If you use older PHP, we highly recommend you request from your developer, server support or hosting company to update PHP to a secure version.

Styling

Use Customizer, style.css from the child theme or Head & Footer Code plugin to custom style and tweak the look and feel of the My YouTube Channel blocks. You can utilise the following classes:

  • .widget_youtube-channel – class of whole widget (parent for widget title and YTC block)
  • .youtube_channel – YTC block wrapper class. Additional classes are available:
    • .default – for non-responsive block
    • .responsive – when you have enabled responsive option
  • .ytc_title – class for video title container above thumbnail/video object
    • .ytc_title_above – additional class for video title above video/thumbnail
    • .ytc_title_below – additional class for video title below video/thumbnail
    • .ytc_title_inside – additional class for video title printed inside of the thumbnail
    • .ytc_title_inside_bottom – additional class for bottom aligned video title printed inside of the thumbnail
  • .ytc_video_container – class of container for single item, plus:
    • .ytc_video_1, .ytc_video_2, … – class of container for single item with ordering number of item in widget
    • .ytc_video_first – class of first container for single item
    • .ytc_video_mid – class of all other containers for single item
    • .ytc_video_last – class of last container for single item
    • .ar16_9 – class for Aspect Ratio 16:9
    • .ar4_3 – class for Aspect Ration 4:3
  • .ytc_thumb – class of anchor for Thumbnail mode
  • .fluid-width-video-wrapper – class for parent element of IFRAME for enabled responsive
  • .ytc_description – class for video description text below thumbnail/video object
  • .ytc_link – class of container for link to channel

Known Issues

  • Video title and description for embedded playlist mode do not work.
  • Removing the YouTube logo from the playback control bar does not work for all videos.
  • Autoplay does not work always

If WordFence or other malware scan tool detect My YouTube Channel file youtube-channel.php as a potential risk because base64_encode() and base64_decode() functions, remember that we use this two functions to store and restore JSON feeds to transient cache, so potential detection is false positive.

Credits

Shortcode

Along with Widget, you can add My YouTube Channel block inline by using shortcode [youtube_channel]. Default plugin parameters will be used for shortcode, but you can customize all parameters per shortcode.

General Settings

  • class (string) Set custom class if you wish to target special styling for specific YTC block
  • channel (string) ID of preferred YouTube channel. Do not set full URL to channel, but just last part from URL – ID (name)
  • handle (string) defined custom handle from YouTube handle
  • vanity (string) DEPRECATED part after www.youtube.com/c/ from Custom URL
  • username (string) DEPRECATED Optional legacy YouTube username.
  • playlist (string) ID of preferred YouTube playlist.
  • resource (int) Resource to use for feed:
    • 0 Channel (User uploads)
    • 1 DEPRECATED Favorites (for defined channel)
    • 2 Playlist
    • 3 DEPRECATED Liked Videos
  • cache (int) Period in seconds for caching feed. You can disable caching by setting this option to 0, but if you have a lot of visits, consider at least short caching (couple minutes).
  • fetch (int) Number of videos that will be used as stack for random pick (min 2, max 50)
  • num (int) Number of videos to display per YTC block.
  • random (bool) Option to randomize videos on every page load.

Video Settings

  • ratio (int) Set preferred aspect ratio for thumbnail and video. You can use:
    • 3 16:9 (widescreen)
    • 1 4:3
  • responsive (bool) Distribute one full width video per row.
  • width (int) Width of thumbnail and video in pixels.
  • display (string) Object that will be used to represent video. We have couple predefined options:
    • thumbnail Thumbnail will be used and video will be loaded in lightbox. (default)
    • iframe HTML5 (iframe)
    • iframe2 HTML5 (iframe) with asynchronous loading – recommended
    • playlist Embedded playlist (same behaviour as old function only_pl)
  • thumb_quality (string) Define image quality for thumbnail display mode. Default is hqdefault, available:
    • default Default Quality (120x90px)
    • mqdefault Medium Quality (320x180px)
    • hqdefault High Quality (480x360px)
    • sddefault Standard Definition (640x480px)
    • maxresdefault Maximum Resolution (1280x720px)
  • no_thumb_title (bool) By default YouTube thumbnail will have tooltip with info about video title and date of publishing. By setting this option to 1 or true you can hide tooltip
  • themelight (bool) By default YouTube have dark play controls theme. By setting this option to 1 or true you can get light theme in player (HTML5 and Flash)
  • controls (bool) Set this option to 1 or true to hide playback controls.
  • autoplay (bool) Enable autoplay of first video in YTC video stack by setting this option to 1 or true
  • mute (bool) Set this option to 1 or true to mute videos set to autoplay on load
  • norel (bool) Set this option to 1 or true to hide related videos after finished playbak
  • nobrand (bool) Set this option to 1 or true to hide YouTube logo from playback control bar
  • nolightbox (bool) Set this option to 1 or true to prevent YTC block with thumbnail to open in lightbox. If you have other plugin that trigger youtube links for lightbox, that one will steal links from this YTC block.
  • target (string) If you enable nolightbox for specific YTC block, you can force opening of thumbnail links in new tab/window if you set this shortcode option to _blank like target="_blank".

Content Layout

  • showtitle (string):
    • none – Hide title
    • above – Display title above video/thumbnail
    • below – Display title below video/thumbnail
    • inside – Display top aligned title inside thumbnail; if display is not thumbnail then treat as above
    • inside_b – Display bottom aligned title inside thumbnail; if display is not thumbnail then treat as below
  • titletag – Video title HTML tag to wrap title (H3, H4, H5, div, span, strong, etc)
  • showdesc (bool) Set to 1 or true to show video description.
  • desclen (int) Set number of characters to cut down length of video description. Set to 0 to use full length description.
  • noinfo (bool) Set to 1 or true to hide overlay video infos (from embedded player)
  • noanno (bool) Set to 1 or true to hide overlay video annotations (from embedded player)

Link to Channel

  • goto_txt (string)
  • popup (int) Control where link to channel will be opened:
    • 0 open link in same window
    • 1 DEPRECATED open link in new window with JavaScript
    • 2 open link in new window with target=”_blank” anchor attribute
  • link_to (string) URL to link:
    • none Hide link (defult)
    • handle YouTube handle URL
    • channel Channel page
    • vanity DEPRECATED Vanity custom URL
    • legacy DEPRECATED Legacy username page

Please note, to enhance plugin functionality, we can change or deprecate some shortcode parameters in future.

Filter hooks

You can modify final output of video block by hooking to filter ytc_print_video.

Four parameters are provided:

  • video_content – HTML of original video block
  • item – YouTube video object which contains:
    • snippet->publishedAt – date of publishing YouTube video
    • shippet->title – YouTube video title
    • shippet->description – YouTube video description
    • snippet->resourceId->videoId – YouTube video ID
  • instance – Current My YouTube Channel Block parameters, including global settings:
    • handle
    • channel
    • vanity DEPRECATED
    • username DEPRECATED
    • playlist
    • resource
    • cache
    • fetch
    • num
    • skip
    • privacy
    • ratio
    • width
    • responsive
    • display
    • fullscreen
    • controls
    • autoplay
    • autoplay_mute
    • norel
    • playsinline
    • showtitle
    • titletag
    • showdesc
    • desclen
    • modestbranding
    • hideanno
    • goto_txt
    • popup_goto
    • link_to
    • tinymce
    • nolightbox
    • apikey
    • thumb_quality
    • timeout
    • random
    • no_thumb_title
    • class
    • target
  • y – order number of video (1 for first, 2 for second, etc)

Example:

add_filter( 'ytc_print_video', 'customized_ytc_print_video', 10, 4 );
function customized_ytc_print_video( $video_block, $item, $instance, $y ) {
    // Do whatever you wish to do
    // ...
    return $video_block;
}
DomainExposuresHeadersLast Checked
k*e*g*f*.de (WP 6.4.8) F Jun 14, 2026
p*r*i*m*n*t*d*y.c*.nz F Jun 14, 2026
r*e*t*l*e*.c*.uk F Jun 14, 2026
t*e*p*t*e*i*g*m*r.com (WP 6.9) F Jun 14, 2026
m*t*r*n*l*m*t*.com (WP 7.0) D Jun 14, 2026
m*g*c*l*g*.de (WP 4.9.29) F Jun 14, 2026
t*i*s*i*h*i*s.pl (WP 6.9.4) F Jun 14, 2026
u*i*e*s*s*n*t*a*.com (WP 5.8.6) F Jun 14, 2026
l*b*r*e*t*l.c*m.br D Jun 14, 2026
g*s*a*o*e*s.it B Jun 14, 2026
f*m*3*.org (WP 7.0) F Jun 14, 2026
c*l*e*r*.org F Jun 13, 2026
i*s*i*r*a*e*r*s.es (WP 6.8.5) F Jun 13, 2026
j*h*w*s*e*f*l*o*s.org (WP 7.0) F Jun 13, 2026
b*o*b*r*e*-*n*e*g*r.de (WP 6.9.4) F Jun 13, 2026
a*c*l*e*e.in (WP 6.8.5) F Jun 13, 2026
r*d*o*r*n*e*r*.com (WP 7.0) F Jun 13, 2026
v*c*o*s*l*a*t*.com F Jun 13, 2026
a*f*e*r*t*n*t*h*.at (WP 5.1.22) F Jun 13, 2026
u*s*u*b*i*.it (WP 6.8.5) F Jun 13, 2026
b*r*s*n*.c*.il (WP 4.9.8) F Jun 13, 2026
a*u*a*u.com (WP 6.9.4) F Jun 13, 2026
a*i*e*o*t*g*l.o*g.br F Jun 13, 2026
s*i*i*g*a*i*s*.com (WP 7.0) D Jun 12, 2026
p*s*a*d*b*u*h.c*m.br (WP 7.0) D Jun 12, 2026
a*o*.net F Jun 12, 2026
l*b*r*r*c*r*a*o*e.it (WP 6.8.5) F Jun 12, 2026
u*l*p*.it F Jun 12, 2026
e*r*t*f*.es F Jun 12, 2026
1*s*a*o*s.jp (WP 7.0) F Jun 12, 2026
m*k*l*n*e*o.com (WP 6.9.4) F Jun 12, 2026
g*e*k*n*m*c*.gr F Jun 12, 2026
r*t*o*r*a*.c*.uk F Jun 12, 2026
f*r*e.org (WP 5.0.8) F Jun 12, 2026
l*n*o*s.org (WP 6.9.4) F Jun 12, 2026
m*s*i*c*u*c*l.o*g.hk F Jun 12, 2026
z*m*t*n*.pl (WP 5.6.17) F Jun 11, 2026
i*e*m*n.tv D Jun 11, 2026
v*r*a*e*v*d*.o*g.br (WP 5.9.13) F Jun 11, 2026
p*n*r*t*n.c*m.au F Jun 11, 2026
f*s*i*g*i*h*o*b*c*e*.com (WP 6.6.5) F Jun 11, 2026
e*i*l*e*e*y*.com (WP 4.9.13) F Jun 10, 2026
z*d*r*o*.net (WP 4.8.25) F Jun 10, 2026
k*m*d*g*t*l.es (WP 6.9.1) F Jun 9, 2026
h*a*e*n*g*t*l*b*o*d*n.com D Jun 9, 2026
c*i*m*y*r*m*o*t.com (WP 4.7.6) F Jun 9, 2026
o*t*a*k*e*t*n*i*c.com F Jun 8, 2026
g*i*a*r*d*k.pl (WP 7.0) F Jun 8, 2026
s*i*e*.c*m.co B Jun 8, 2026
o*a*o*s*e*e.c*m.br (WP 7.0) F Jun 7, 2026
b*j*t*u*t*.com (WP 6.9.4) C Jun 7, 2026
d*y*h*e*.co (WP 5.2.21) A Jun 7, 2026
b*g*c*l*t*u*k*.com (WP 6.9.4) F Jun 7, 2026
b*g*c*l*m*d*l*r*c*s.com (WP 6.9.4) F Jun 7, 2026
b*g*c*l*m*s*e*s.com (WP 6.9.4) F Jun 7, 2026
c*t*v.org F Jun 7, 2026
v*r*l*o*.c*m.br (WP 6.9.4) F Jun 7, 2026
f*t*i*h*.in (WP 6.9.4) F Jun 7, 2026
h*i*e*i*r*d*o.com F Jun 7, 2026
b*h*m*s*r*s*.com (WP 7.0) B Jun 6, 2026
b*c*t*i*.se (WP 6.5.8) F Jun 6, 2026
g*a*-*v.ru (WP 7.0) F Jun 6, 2026
a*s*u*p*z.ru (WP 5.4.19) F Jun 6, 2026
b*c*t*t*e*e*k.com (WP 6.9.4) F Jun 6, 2026
m*v*e*s*f*h*w*r*d.com (WP 7.0) F Jun 6, 2026
i*n*v*t*o*l*b*o*o*i*i.it F Jun 6, 2026
b*c*o*.com (WP 6.9.4) F Jun 6, 2026
e*l*s*d*s*i*e*.re C Jun 6, 2026
n*s*e*u.cz (WP 5.1.19) F Jun 6, 2026
b*9*t*e*u*z.com (WP 5.5.18) F Jun 6, 2026
m*s*i*y*a*i*g.com (WP 6.9.4) F Jun 6, 2026
r*c*c*e*k*u*n*r.com (WP 6.9.4) F Jun 6, 2026
e*s*-*a*e.fr F Jun 6, 2026
b*b*i*r*.sk (WP 7.0) F Jun 6, 2026
l*n*t*n*a*e*r*s*a*r*n*.fr F Jun 6, 2026
t*e*i*y*r*c*r*.com (WP 7.0) F Jun 6, 2026
m*r*t*a*j*s*s*o*t*.com F Jun 6, 2026
p*k*r*l*g*e*t.de (WP 4.9.29) F Jun 5, 2026
h*h*.o*g.ar F Jun 5, 2026
p*d*c.g*v.pk F Jun 5, 2026
m*r*a*s*b*r*n*.com (WP 6.9.4) F Jun 5, 2026
m*l*y*-*u*s.com (WP 7.0) F Jun 5, 2026
a*h*m*k*a*.com D Jun 5, 2026
g*r*e*b*t*.com (WP 7.0) F Jun 5, 2026

Top 50 Plugins

Plugin Count
elementor 1,770,670
contact-form-7 1,752,430
elementor-pro 1,052,476
woocommerce 816,098
revslider 609,110
jetpack 455,281
js_composer 420,184
wp-rocket 341,921
essential-addons-for-elementor-lite 264,914
complianz-gdpr 257,462
gravityforms 257,435
google-site-kit 232,555
cookie-law-info 228,544
instagram-feed 224,942
sitepress-multilingual-cms 210,671
header-footer-elementor 206,836
google-analytics-for-wordpress 205,959
bluehost-wordpress-plugin 192,462
elementskit-lite 180,242
gutenberg 167,162
cookie-notice 148,974
litespeed-cache 143,534
gtranslate 124,906
wpforms-lite 123,932
the-events-calendar 122,493
astra-sites 113,329
popup-maker 109,786
woocommerce-payments 109,450
gutenberg-core 106,504
tablepress 102,169
honeypot 97,746
astra-addon 93,790
wp-smushit 90,919
duracelltomi-google-tag-manager 90,369
layerslider 89,411
all-in-one-seo-pack 89,154
coblocks 87,767
bb-plugin 87,000
akismet 85,051
premium-addons-for-elementor 84,446
ml-slider 83,072
cleantalk-spam-protect 82,690
mailchimp-for-wp 81,877
megamenu 80,262
woocommerce-gateway-stripe 79,553
jet-engine 77,858
fusion-builder 77,168
ewww-image-optimizer 76,597
wp-pagenavi 76,492
smart-slider-3 76,197

Top 50 Themes

Theme Count
hello-elementor 621,008
Divi 496,644
astra 414,290
flatsome 137,871
Avada 121,202
generatepress 115,012
oceanwp 80,398
kadence 78,936
pub 74,605
enfold 68,814
salient 65,240
twentyseventeen 54,376
bb-theme 53,465
betheme 52,425
twentytwentyfour 52,233
blocksy 50,857
cocoon-master 49,213
dt-the7 45,470
twentytwentyfive 44,929
woodmart 42,965
neve 38,166
h4 37,144
Avada-Child-Theme 36,929
gox 36,231
bridge 31,369
twentytwentyone 30,344
lightning 29,931
twentytwenty 28,789
swell 27,967
bricks 26,477
Impreza 26,084
Newspaper 24,190
twentytwentythree 22,123
epik-redesign 19,169
twentytwentytwo 18,776
uncode 18,532
pro 17,631
twentysixteen 17,610
sydney 16,563
storefront 16,339
Total 14,409
hello-theme-child-master 14,016
factory-templates-4 13,732
themify-ultra 12,964
extendable 12,794
hestia 12,599
yootheme 12,534
yith-wonder 12,153
porto 11,942
twentyfifteen 11,851