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

Plugin: youtube-channel (Used by 1,491 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
c*l*u*e*4.org (WP 5.5.3) F Jul 6, 2026
e*e*g*l*n*i*.pl (WP 6.9.4) D Jul 6, 2026
g*t*a*o*r*.com F Jul 6, 2026
b*n*a*a*p*s.com (WP 7.0) B Jul 6, 2026
g*o*s*a*.com F Jul 6, 2026
c*l*g*o*o*b*.com (WP 7.0) F Jul 6, 2026
c*l*g*o*n*e*n*c*o*a*k*l*e.com (WP 7.0) F Jul 6, 2026
s*r*.com (WP 7.0) F Jul 6, 2026
e*r*e*u*a*i*n.ro F Jul 6, 2026
m*s*y*e*i*l.com F Jul 6, 2026
t*i*w*e*i*g*m*l*n*.com F Jul 6, 2026
a*s*l*a*f*u*d*t*o*.org (WP 6.2) F Jul 6, 2026
j*m*e*e*.com F Jul 6, 2026
g*o*h*m*n*o*e*t*a*.com C Jul 6, 2026
j*a*i*o.fr (WP 5.8.13) F Jul 6, 2026
r*e*k*-*i*m*r*t*k*n.de (WP 7.0) F Jul 6, 2026
m*z*o*b*p*i*t.us F Jul 6, 2026
v*b*b*l*g*a.it F Jul 6, 2026
c*i*f*s*e*m*n.com (WP 4.8.25) F Jul 6, 2026
j*m*s*r*w.com (WP 5.6.2) F Jul 6, 2026
b*r*a*d*e*l*c.com (WP 4.2.39) F Jul 6, 2026
s*e*t*r*u*h*l*s*.com F Jul 6, 2026
s*e*y*l*e*.com (WP 7.0) F Jul 6, 2026
j*l*m*n*e*a*a*t*.com (WP 4.7.33) F Jul 6, 2026
p*y*h*d*l*c*o*l*o*n*.com F Jul 6, 2026
g*o*a*i.c*m.cy (WP 6.7.1) F Jul 6, 2026
p*u*o*l*g*o.com F Jul 6, 2026
e*i*i*n*s*e*l*n*e.com F Jul 6, 2026
p*r*w.com (WP 7.0) F Jul 6, 2026
p*r*o*t*o*t*.com (WP 7.0) F Jul 6, 2026
p*r*f*r*w*r*h.com (WP 7.0) F Jul 6, 2026
b*l*e*i*i*t*r*a*i*n*l.com F Jul 6, 2026
p*o*l*s*l*a*a*e*.com F Jul 6, 2026
g*o*p*r*n*i*g*r*g*t*r*h*l*r*n.com (WP 6.3.8) B Jul 6, 2026
l*b*r*m*n*e*n*a*p*r.com F Jul 6, 2026
c*n*r*s*u*i*a*l*p*c*o*a.it (WP 6.8.5) F Jul 6, 2026
j*i*u*w*d*i*g*u*.com (WP 6.9.4) F Jul 6, 2026
s*c*e*s*s*o*i*s.fr (WP 6.8.5) D Jul 6, 2026
s*e*p*e*o*d.com (WP 7.0) F Jul 6, 2026
g*g*l*e*v.com F Jul 6, 2026
a*v*n*a*e*o*n*.com (WP 6.9.4) F Jul 6, 2026
c*r*g*a*n*u*k*n*.com D Jul 6, 2026
a*d*o*y*t*m*.c*m.mx (WP 5.8.13) F Jul 6, 2026
r*d*o*m*n.ro F Jul 5, 2026
e*r*m*s*c*a*c*.ro F Jul 5, 2026
c*d*c*a*t*c*o*l.com F Jul 5, 2026
p*u*i*t*t.com (WP 6.0.12) D Jul 5, 2026
l*v*s*o*n*e*i*g.com (WP 7.0) F Jul 5, 2026
s*a*e*h*o*t.com (WP 7.0) F Jul 5, 2026
t*o*a*c*m*c*.com (WP 7.0) F Jul 5, 2026
l*x*a*e.com (WP 7.0) F Jul 5, 2026
a*r*o*t*a*t*c*l*t*r*.com (WP 6.9.4) D Jul 5, 2026
m*m*n*f*l*a*o*l*f*.com (WP 6.9.4) F Jul 5, 2026
j*c*s*n*i*l*g*a*t*.com F Jul 5, 2026
b*b*k*h*k*i.com (WP 7.0) F Jul 5, 2026
b*m*a*m.com (WP 7.0) F Jul 5, 2026
j*c*s*r*.com F Jul 5, 2026
e*o*o*i*r*c*s*a*.com F Jul 5, 2026
s*h*l*e*b*r*.nl (WP 6.2.2) F Jul 5, 2026
m*l*t*l*m*p*e*.com (WP 7.0) F Jul 5, 2026
m*l*f*s*c*g*.com (WP 4.1.42) F Jul 5, 2026
j*c*f*c*l*r*d*.com (WP 5.5.18) F Jul 5, 2026
g*o*t*u*t*r*p*r*y*e*t*l.com (WP 7.0) F Jul 5, 2026
c*a*m*.com (WP 6.9.4) F Jul 5, 2026
p*o*d*o*m*m.com F Jul 5, 2026
t*e*a*y*i*h*t*p*a*i*.com F Jul 5, 2026
c*a*c*u*t*y*6*.com (WP 5.5.18) F Jul 5, 2026
t*e*d*s*i.com F Jul 5, 2026
e*o*u*p*t*r.com (WP 7.0) D Jul 5, 2026
b*d*o*k*u*l*a*.com F Jul 5, 2026
l*d*e*o*l*b*r*y.org F Jul 5, 2026
p*p*a.tv (WP 7.0) F Jul 5, 2026
e*o*d*m*s*e*.com (WP 7.0) D Jul 5, 2026
m*g*s*e*p.com (WP 7.0) F Jul 5, 2026
i*s*a*i*l*c*.com (WP 6.1.10) F Jul 5, 2026
m*c*a*l*l*c*e*.dk (WP 6.6.5) F Jul 5, 2026
1*t*s*r*e*b*r*e*u*.com D Jul 5, 2026
1*b*q.com D Jul 5, 2026
a*i*s*g*t*n*i*e.com C Jul 5, 2026
a*i*s*g*t.com C Jul 5, 2026
t*e*u*u*e*s*i*r*e.com (WP 7.0) B Jul 5, 2026
p*t*i*k*a*s*e*.de (WP 5.1.22) F Jul 5, 2026
c*h*r*.com (WP 7.0) F Jul 5, 2026
w*a*h*r*j.com F Jul 5, 2026
s*u*p*o*l*s*i*s.com (WP 5.7.6) F Jul 5, 2026
p*o*i*e*n*a*i*g.com (WP 7.0) F Jul 5, 2026
p*o*h*t*c*v*i*e*i*r*e*.com (WP 7.0) F Jul 5, 2026
p*o*h*t*i*r*e*.com (WP 7.0) F Jul 5, 2026
b*k*r*v*e*.c*m.au (WP 7.0) F Jul 5, 2026
m*d*l*r*c*s.nl (WP 6.9.4) F Jul 5, 2026
m*i*l*x.de F Jul 5, 2026
1*6*k*k*.com (WP 5.5.18) F Jul 5, 2026
p*a*e*e*m*z*n*.com (WP 6.4.8) F Jul 4, 2026
e*s*l*t*o*u*a.com F Jul 4, 2026
a*t*e*i*t*o*m*n*r*a*.org (WP 6.9.4) D Jul 4, 2026
b*a*t*b*o*m*x*c*.com C Jul 4, 2026
p*a*e*9*7.com (WP 5.5.18) F Jul 4, 2026
s*r*c*m*r*b*d*s*l*a.com C Jul 4, 2026
s*r*b*r*i*a*e*e*l*.com C Jul 4, 2026
e*h*r*a*z*.pl F Jul 4, 2026

Top 50 Plugins

Plugin Count
elementor 1,773,066
contact-form-7 1,754,699
elementor-pro 1,053,398
woocommerce 816,868
revslider 609,950
jetpack 456,151
js_composer 420,819
wp-rocket 341,566
essential-addons-for-elementor-lite 265,266
complianz-gdpr 257,980
gravityforms 257,686
google-site-kit 232,621
cookie-law-info 228,902
instagram-feed 225,266
sitepress-multilingual-cms 210,874
header-footer-elementor 207,407
google-analytics-for-wordpress 206,188
bluehost-wordpress-plugin 192,588
elementskit-lite 180,622
gutenberg 167,311
cookie-notice 149,235
litespeed-cache 143,547
gtranslate 125,193
wpforms-lite 124,272
the-events-calendar 122,579
astra-sites 113,631
gutenberg-core 113,508
popup-maker 110,000
woocommerce-payments 109,709
tablepress 102,202
honeypot 97,891
astra-addon 93,947
wp-smushit 91,090
duracelltomi-google-tag-manager 90,451
coblocks 89,789
layerslider 89,525
all-in-one-seo-pack 89,300
bb-plugin 87,066
akismet 85,166
premium-addons-for-elementor 84,433
ml-slider 83,034
cleantalk-spam-protect 82,813
mailchimp-for-wp 82,012
megamenu 80,374
woocommerce-gateway-stripe 79,700
jet-engine 77,827
fusion-builder 77,281
ewww-image-optimizer 76,638
wp-pagenavi 76,523
smart-slider-3 76,327

Top 50 Themes

Theme Count
hello-elementor 621,543
Divi 497,327
astra 415,116
flatsome 137,795
Avada 121,363
generatepress 114,678
oceanwp 80,569
pub 79,286
kadence 78,818
enfold 68,928
salient 65,362
twentyseventeen 54,403
bb-theme 53,484
betheme 52,451
twentytwentyfour 52,191
blocksy 51,007
cocoon-master 49,241
dt-the7 45,528
twentytwentyfive 44,925
woodmart 42,693
h4 39,561
neve 38,220
Avada-Child-Theme 36,954
gox 36,252
bridge 31,437
twentytwentyone 30,343
lightning 29,939
twentytwenty 28,835
swell 27,982
bricks 26,516
Impreza 26,104
Newspaper 24,234
twentytwentythree 22,139
epik-redesign 19,181
twentytwentytwo 18,831
uncode 18,592
twentysixteen 17,623
pro 17,621
sydney 16,585
storefront 16,374
Total 14,410
hello-theme-child-master 14,004
factory-templates-4 13,730
themify-ultra 12,971
extendable 12,866
hestia 12,599
yootheme 12,547
yith-wonder 12,223
porto 11,980
twentyfifteen 11,835