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

Plugin: youtube-embed (Used by 2,368 domains)

Embeds for YouTube

NOTE: This plugin supports the ability to insert the standard Embeds for YouTube and playlist players. However, if you need to embed a YouTube facade, livestream, or gallery, we recommend the EmbedPlus.com plugin that’s freely available here. It’s been around for many years and is highly trusted.

Embeds for YouTube is an incredibly fast, simple, yet powerful, method of embedding YouTube videos into your WordPress site.

Key features include…

  • Build your own playlists and play them back however you want
  • Automatically generate playlists based on user name
  • Create multiple profiles – use them for different videos to get the exact style that you want
  • Dynamic video sizing for responsive sites
  • Housekept caching keeps the code generation nimble and your database tables slimline
  • Google compatible metadata is added to the video output based on data provided by the YouTube API – great for SEO!
  • Support for Do Not Track
  • Compatible with Video SEO for WordPress, a3 lazy load and WordPress Video Overlay Ads and many more. In the case of Video SEO and WordPress Video Overlay Ads, their options will even appear under the Embeds for YouTube menu for total simplicity!
  • Use Turn Off The Lights? This plugin works with it beautifully.
  • iFrame Resizer and FitVids.js supported to improve content resizing
  • Works “out of the box” with 4K, 60FPS and Chromecast – stream your embedded videos to your TV!
  • And much, much more!

👉 Please visit the Github page for the latest code development, planned enhancements and known issues 👈

🚦 Getting Started

How easy is it to use? The fine people at Webucator have put together an excellent video showing you how to get started with it..

To add a video to a post or page simply use the shortcode [youtube]video[/youtube], where video is the ID or URL of the YouTube video. Alternatively, you can add one (or more) widgets to your sidebar.

If you’re not sure what the video ID is, please head to the FAQ section where it’s explained in greater detail!

Within the administration area, click on the Settings menu option and then Embeds for YouTube to view and edit the generic settings for the plugin. Also under the Embeds for YouTube menu (see screenshot 1) you can click on the Profiles sub-menu to set the default options which define the output of your videos. Any videos you display (unless overridden by parameters – more on that later) will use the settings from the Profiles screen.

Although this document contains a lot of information more is provided on the various administration pages. Whilst on the administration pages, click on the “Help” button in the top right for some useful tips and links. If anything isn’t covered and you’re unsure of what it does please ask on the forum.

🔑 Creating an API Key

At the top of the Embeds for YouTube Settings administration screen is an option to specify an API key. This is optional but many of the features of this plugin – including accurate video information being added to the metadata – will not be available without it. Thankfully an API key is easy to get and is free.

  1. Head to the YouTube Developers Console
  2. Click on CREATE PROJECT
  3. Once created, head into it
  4. In the APIs box, click on “Go to APIs overview”
  5. Click on “ENABLE APIS AND SERVICES” at the top of the screen
  6. You can now choose your API – click on YouTube Data API v3
  7. Click the “ENABLE” button
  8. Click on “CREATE CREDENTIALS”
  9. On the drop-downs, choose the API we selected before, “Web browser and “Public data”
  10. You will now be presented with your API key

The API key can now be pasted into the settings in WP Admin.

Further embedding options

A basic shortcode will embed your video using your default profile settings. However, you may wish to override some of these options on a video-by-video basis – this is done via parameters added to the shortcode.

e.g. [youtube width=300 height=200]Z_sCoHGIpU0[/youtube]

Which options are available depends upon the users’s set-up (for example, whether they have Flash installed or not). You can specify any of the parameters but they may be ignored. Please see the Profile screen in Administration for further details on any restrictions which may exist.

  • annotation – yes or no, this determines if annotations are shown
  • autoplay – yes or no, should the video automatically start playing?
  • cc – yes or no, decided whether closed captions are displayed. If you don’t specify anything then the user’s default will be used.
  • cc_lang – Closed captions language. Select a ISO 639-1 two-letter language code or leave blank for the default
  • color – white or red, the color of the progress bar (see the FAQ about having a white progress bar with the light theme)
  • controls – 0, 1 or 2, this decides whether the controls should display and when the Flash will load. A value of 0 will not show the controls but 1 or 2 will. A value of 2 will load Flash once the user initiates playback – otherwise it’s loaded straight away.
  • disablekb – yes or no, switch off keyboard controls
  • fullscreen – yes or no, this will add the fullscreen button to the toolbar
  • height – the video height, in pixels
  • language – The interface language. The parameter value is an ISO 639-1 two-letter language code or a fully specified locale. Leave blank for the default
  • list – if you’ve specified your own list, use this to select the way the videos should be output. Should be random (display videos in a random order), single (show just one video, randomly picked from the list) or order (show each video in the original order – this is the default)
  • loop – yes or no, whether to start the video again once it ends
  • modest – reduce the branding on the video
  • playsinline – whether videos play inline or fullscreen in an HTML5 player on iOS.
  • profile – specify a different default profile (see section on Profiles for further details)
  • ratio – allows you to define a window ratio – specify just a height or width and the ratio will calculate the missing dimension. Uses the format x:x, e.g. 4:3, 16:9
  • related – yes or no, show related videos
  • responsive – whether to use responsive output or not. When switched on the video will resize when your site does (i.e. responsive). If a video width is supplied this will be the maximum width, otherwise full width will be assumed. Height is ignored and will be worked out automatically.
  • start – a number of seconds from where to start the video playing
  • stop – this stops the video at a specific time, given in seconds
  • style – apply CSS elements directly to the video output
  • template – specify a template (see section on Templates for further details)
  • user – yes or no, create a playlist based on a user’s uploads. The search word should be specified instead of a video ID. See “Automatically Generate Playlists” option for more details
  • width – the video width, in pixels

Alternative Shortcodes

Within Administration, selecting Settings -> Embeds for YouTube will provide a list of generic options. One option is named Alternative Shortcode and allows you to specify another shortcode that will work exactly the same as the standard shortcode of [youtube]].

There are 2 reasons why you might want to do this…

  1. If migrating from another plugin, it may use a different shortcode
  2. If another plugin uses the same shortcode (e.g. Jetpack) this will allow you to specify and use an alternative

The new shortcode can also have its own default profile assigned to it (see the Profiles section for more details on this).

Widgets

Widgets can be easily added. In Administration simply click on the Widgets option under the Appearance menu. Embeds for YouTube will be one of the listed widgets. Drag it to the appropriate sidebar on the right hand side and then choose your video options – any that aren’t specified are taken from your supplied profile. It’s best to have a profile set-up specifically for widgets!

If you wish to display an automatically generated playlist based on user name, simply change the “ID Type” appropriately and then specify the name where the video ID would normally be entered.

And that’s it! You can use unlimited widgets, so you can add different videos to different sidebars.

Playlists

YouTube allows users to create their own playlists – collections of videos that can be played in sequence. These are embedded in the same way, by supplying the playlist ID.

e.g. [[youtube]PLVTLbc6i-h_iuhdwUfuPDLFLXG2QQnz-x[/youtube]

An alternative to the YouTube build playlists is the build-in lists function – see the Lists section for further details.

Templates

Both in the profile and as a parameter you can specify a template. This allows you to define any CSS that you wish to “wrap” around the YouTube output.

The template consists simply of your choice of HTML but with %video% where you wish the video to appear.

e.g.

%video%

For reasons of security, only specific HTML tags are valid – these are a, br, div, img, p span and strong. If there are any others that you’d like to have added, please let me know via the forum.

Profiles

You’ve probably already had a look at the default profile, accessible by selecting Profiles from the Embeds for YouTube Administration menu option. Here you can specify the default option which will apply to any embedded video.

However, in the top right hand corner is a drop-down box and a button marked Change profile. Simply select an alternative profile and click the button and you can then edit the options for this alternative profile. You can even name it as well.

To use this profile, simply use the parameter profile= followed by the profile name or number. The options for this profile will then be used.

This could be useful, for instance, for having a separate profile for different parts of your site – posts, sidebar, etc – or for different video types (e.g. widescreen).

By default you have 5 extra profiles – if you wish to have more (or less) this number can be changed from the Embeds for YouTube settings screen.

📝 Lists

Although this plugin will play standard YouTube playlists their playback options are limited. Instead you can create your own video lists. Under the Embeds for YouTube administration menu is a sub-menu named Lists. Select this and you will be shown a screen where you can type in a list of video IDs (or URLS). You can also provide a name for the list.

When saving the list each video is validated.

As with profiles you can select the list from a drop down in the top right-hand corner. You can also change the number of lists from the Options sub-menu too.

To use a list, simply specify the list name or number instead of a video ID, as well as a parameter to specify how you wish the list to be played back.

e.g. [youtube list='order']List 1[/youtube]

The list parameter allows to to either play each in turn, play them randomly, or have just one played (but picked randomly).

An option within the general options screen allows you to change whether this parameter MUST be used. If switched on, you will gain a performance increase, otherwise the plugin has no way of knowing if you’re asking for a playlist so must verify the ID you’ve specified against all your lists.

Automatically Generated Playlists

YouTube includes options to automatically generate playlists based upon a user name.

To use, simply use the user parameter to switch the appropriate option on. Then, instead of a video ID or URL, you should specify the user name.

📏 Third Party Resizing Scripts

Within the Embeds for YouTube settings screen there is an option to set a third party resizing script – either iFrame Resizer or FitVids.js. These work alongside the existing IFRAME but try and improve the output, particularly with regard to how the output is sized.

There are no guarantees with these and no support of their specific functionality is provided. However, if the video output is wrong then it’s worth trying these.

🏙 Thumbnails

Embeds for YouTube also has the ability to return a thumbnail of a video (sorry, this doesn’t work with playlists).

To use the shortcode method, insert [youtube_thumb]id[/youtube_thumb] into a post or page to create a thumbnail of the relevant video ID which, once clicked, will open up the appropriate YouTube page.

You can specify a number of parameters…

  • alt – specify some ALT text for the thumbnail image
  • rel – specify a REL override, e.g. rel=”nofollow”
  • target – specify a TARGET override, e.g. target=”_blank”
  • width – this specifies the width of the thumbnail image
  • height – this specifies the height of the thumbnail image
  • nolink – if set to true, will output the thumbnail without a link to the YouTube video, allowing you to add your own
  • version – which version of the thumbnail to use. This can be default (120×90), medium (320×180), high (480×360), standard (640×480) or maxres
  • version – which version of the thumbnail to use. This can be default (120×90), medium (320×180), high (480×360), standard (640×480) or maxres

e.g. [youtube_thumb target="_blank" alt="Demo video"]id[/youtube_thumb]

This overrides the TARGET and ALT elements of the thumbnail.

🗜 Shortened URL

You may return a short URL for any YouTube video by simply inserting [youtube_url id=xx] anywhere within a post. xx is the ID of the video.

ℹ️ Video Information

The shortcode of vinfo can be used to output useful video information. Simple pass the video ID using the parameter of id and then add any text between the opening and closing shortcode. If this text contains any of the following tags then they will be replaced with the relevant video information…

  • %title% – the title of the video
  • %description% – the video description
  • %url% – a link to the video on YouTube
  • %shorturl% – a shorturl of the video
  • %thumb_default% – URL of a thumbnail image 120×90 pixels in size
  • %thumb_medium% – URL of a thumbnail image 320×180 pixels in size
  • %thumb_high% – URL of a thumbnail image 480×360 pixels in size
  • %thumb_standard% – URL of a thumbnail image 640×480 pixels in size
  • %thumb_maxres% – URL of a thumbnail image the biggest it can be, based on the original video size

These tags can be included in URLs as well. For example, if you added the following in the HTML view…

`[vinfo id=”Z_sCoHGIpU0″]

DomainExposuresHeadersLast Checked
j*n*l*g*s.com (WP 6.9.4) F 2026-05-12 08:57:01
b*r*s*h*t*e*h*f.com F 2026-05-12 08:48:21
e*i*y*i*u*d*.com F 2026-05-12 08:46:31
b*l*i*s*f*c.com F 2026-05-12 07:54:55
b*i*m*b*l*t*.com (WP 6.9.4) F 2026-05-12 07:23:42
a*h*t*m*g.com (WP 6.9.4) F 2026-05-12 07:05:01
e*i*i*b*a*l*.com F 2026-05-12 07:03:43
e*a.g*a*.gov (WP 6.9.4) F 2026-05-12 06:58:13
j*n*i*e*s*a*l*r.com (WP 6.9.4) F 2026-05-12 06:22:04
t*l*-*o*p*r*t*.com (WP 5.7.15) ⚠️ F 2026-05-12 05:40:21
8*0*c*o*a*.com F 2026-05-12 05:28:56
a*g*p*m*s.com (WP 6.9.4) F 2026-05-12 05:15:28
l*s*e*n*p*r*i*l*-*c*p*n*t*r*.com F 2026-05-12 04:38:34
w*n*i*g*o*f*h*t*.com F 2026-05-12 04:15:33
l*s*p*t*c*r*u*h*r.com (WP 6.9.4) F 2026-05-12 03:03:15
m*l*e*h*n*e*e*t*o*u*i*n.com (WP 4.1.1) ⚠️ F 2026-05-12 02:54:34
q*a*i*y*o*e*a*c*n*p*e*.com (WP 6.9.4) F 2026-05-12 02:52:05
7*i*l*k*m*a*a.com (WP 6.9.4) F 2026-05-12 02:46:11
b*i*i*h*a*i*e*u*a.com (WP 6.9.4) F 2026-05-12 02:28:05
m*l*o*m*a*l*s.com F 2026-05-12 02:17:30
a*f*e*i*e*l*t*r*e*s*e*i.com (WP 6.8.3) F 2026-05-12 01:53:34
q*a*i*e*r*l*t*o*n*l*e.com F 2026-05-12 01:34:13
q*a*i*a*s.com (WP 6.8.5) F 2026-05-12 01:34:12
j*m*l*x.com F 2026-05-12 01:17:53
o*l*n*-*c*e*d*n*-*e*t*c*l*n*.de (WP 6.9.4) F 2026-05-12 01:17:35
p*n*e*e*t*m*r*e*i*g.d*g*t*l*r*w*r*d.com F 2026-05-12 00:54:10
c*-*e*s.com (WP 4.5.32) ⚠️ F 2026-05-12 00:27:33
a*c*a*l*n.c*.il F 2026-05-11 23:49:38
j*f*r*y*k*r*.com F 2026-05-11 22:19:39
m*k*a*o*g*m*n*.com F 2026-05-11 21:30:17
g*d*o*s*r*c*i*n.com F 2026-05-11 21:20:44
a*v*n*u*e*s.ca (WP 5.9.13) ⚠️ F 2026-05-11 21:09:49
q*i*u*a*p.com F 2026-05-11 21:09:10
b*y*i*t*a*.com (WP 6.9.4) F 2026-05-11 21:02:17
w*n*o*s*u*d*t*.com F 2026-05-11 20:58:20
w*n*o*s*a*t*v*-*i*e*t*r*.com (WP 6.9.4) F 2026-05-11 20:53:47
t*e*e*u*t*.org (WP 6.9.4) F 2026-05-11 20:15:28
c*w*o*c*r*a*c*n*l*s.com (WP 6.9.4) F 2026-05-11 20:13:34
w*n*i*t*e*i*l*w*a*u*u*c*u*e.com F 2026-05-11 20:06:11
g*m*2*.com (WP 6.9.4) F 2026-05-11 19:18:04
c*v*r*t*a*u*c*v*r.com (WP 6.9.4) F 2026-05-11 18:29:06
j*a*p*i*i*p*a*d*a*g*u*.com (WP 6.9.4) F 2026-05-11 17:21:43
a*u*u*c*u*e*e*i*a*c*n*e*.net F 2026-05-11 16:21:25
p*i*a*v*r*.net (WP 6.1.9) ⚠️ F 2026-05-11 15:30:58
h*k*.fi F 2026-05-11 15:13:42
j*u*m*t*r*p*r*s.com (WP 6.9.4) F 2026-05-11 15:11:54
a*c*.b*b*w*.pl (WP 5.0.22) ⚠️ F 2026-05-11 14:45:37
j*r*a*c*t*h*r.com (WP 6.9.4) F 2026-05-11 14:41:47
p*d.p*g*s.i*t*.a*.at B 2026-05-11 14:35:21
b*e*d*r*j*h*p*.com (WP 6.9.4) C 2026-05-11 14:27:59
a*e*-*i*g.com (WP 6.9.4) F 2026-05-11 14:22:28
q*a*e.com F 2026-05-11 13:59:12
5*h*x*s*r*g*a*m*n*.com (WP 6.9.4) F 2026-05-11 13:52:31
w*l*i*t*n.com F 2026-05-11 13:11:48
s*a*b*r*t*o*n*.org (WP 6.8.5) F 2026-05-11 11:54:35
m*h*l*i*n*r.at F 2026-05-11 11:41:11
n*n*y*l*a*e*w*i*e*.com (WP 6.9.4) F 2026-05-11 10:29:39
b*s*n*w*i*d*w*o*.com (WP 6.9.4) 💀 D 2026-05-11 10:25:36
h*b*r*s*e*s*e*s*n*e.ca (WP 6.6.2) D 2026-05-11 10:05:43
t*i*o*f*l*.com (WP 5.9.13) ⚠️ F 2026-05-11 09:46:45
m*j*l*s*a*l*g*p*m*a*e*g.com F 2026-05-11 09:45:38
t*m*l*s*t*a*e*t*a*l*r*.com F 2026-05-11 09:23:41
b*s*m*s*a*e*a*c*l*n*.com F 2026-05-11 09:18:17
k*l*o.org (WP 6.9.4) F 2026-05-11 09:15:47
r*l*s*r*s*l*t*o*.net (WP 6.9.4) F 2026-05-11 09:04:51
s*e*i*s.com F 2026-05-11 09:02:04
w*l*r*v*r*r*l*e.com (WP 6.9.4) B 2026-05-11 07:58:01
a*e*e*.com F 2026-05-11 07:51:32
t*i*h*-*c*p*n*t*r*.com F 2026-05-11 07:48:40
l*n*a*h*m*s*c*p*n*t*r*.com F 2026-05-11 07:29:42
e*c*u*i*e*s*a*.ru (WP 6.9.4) F 2026-05-11 07:12:21
t*m*o*f*a*.com (WP 6.9.4) F 2026-05-11 07:08:12
p*t*o*-*c*i*t*.com F 2026-05-11 07:04:10
n*m*n*a*i*a.com (WP 6.9.4) F 2026-05-11 07:01:08
b*u*s*a*m*d*a.org (WP 6.9.4) F 2026-05-11 06:56:12
t*h*e*e*r*h*a*i*g.com F 2026-05-11 06:51:55
c*t*o*l*k*w*o*.com (WP 6.9.4) F 2026-05-11 06:50:16
5*a*a*i*g*o*s.com F 2026-05-11 05:07:29
c*t*n*i*m*.com A 2026-05-11 05:01:22
g*i*e*u*o*a*i*n.com (WP 6.9.4) F 2026-05-11 04:03:04
r*d*a*t*a*t*c*u*c*.org (WP 6.9.4) F 2026-05-11 03:00:18
g*s*e*w*e*l*e*.com (WP 5.1.2) ⚠️ F 2026-05-11 02:47:04
d*u*b*r*.org (WP 6.9.4) F 2026-05-11 02:05:07
d*c*s*o*k*.d*c*s*l*x.com (WP 6.9.4) F 2026-05-11 01:31:36
d*c*s*a*i*-*u*i*.d*c*s*l*x.com (WP 6.9.4) F 2026-05-11 01:31:36
d*c*s*v*v*d.d*c*s*l*x.com (WP 6.9.4) F 2026-05-11 01:31:36
t*g*a*m*r*i*y*n.com F 2026-05-11 01:26:48
m*m.c*m.vn (WP 6.9.4) F 2026-05-11 01:15:51
p*t*e*z*n*.com (WP 6.9.4) F 2026-05-11 00:58:25
a*b*a*f*r*.com F 2026-05-11 00:53:26
c*r*u*o*e*a*l*.es F 2026-05-11 00:30:22
4*i*t*e*e*s.com F 2026-05-11 00:12:21
a*b*r*o*a*s*l*c*u*.com D 2026-05-10 23:46:18
t*a*.asia (WP 6.9.4) F 2026-05-10 23:43:37
j*w*r*d.com (WP 6.4.5) ⚠️ F 2026-05-10 23:29:14
4*m*d*a.com (WP 6.9.4) 🔓 F 2026-05-10 23:17:44
p*a*i*-*i*c*e*.at F 2026-05-10 23:09:07
w*c*c*o*d.com F 2026-05-10 22:49:22
w*c*b*i*d*.com F 2026-05-10 22:49:22
w*c*b*i*d*n*s.com F 2026-05-10 22:49:22

Top 50 Plugins

Plugin Count
elementor 1,845,026
contact-form-7 1,814,379
elementor-pro 1,074,639
woocommerce 834,328
revslider 631,057
jetpack 474,701
js_composer 442,043
wp-rocket 343,148
essential-addons-for-elementor-lite 303,315
gravityforms 291,645
complianz-gdpr 264,632
cookie-law-info 238,008
instagram-feed 233,160
google-site-kit 227,086
sitepress-multilingual-cms 226,612
google-analytics-for-wordpress 218,275
header-footer-elementor 214,731
elementskit-lite 214,055
bluehost-wordpress-plugin 191,979
gutenberg 165,128
gutenberg-core 163,247
cookie-notice 156,862
litespeed-cache 137,160
the-events-calendar 135,646
wpforms-lite 131,895
gtranslate 131,059
astra-sites 121,430
popup-maker 118,674
woocommerce-payments 114,788
tablepress 113,253
coblocks 101,881
honeypot 100,128
astra-addon 97,326
duracelltomi-google-tag-manager 96,036
wp-smushit 95,656
all-in-one-seo-pack 95,213
LayerSlider 93,578
bb-plugin 92,205
megamenu 89,033
premium-addons-for-elementor 88,891
akismet 87,453
mailchimp-for-wp 85,480
cleantalk-spam-protect 85,280
woocommerce-gateway-stripe 84,759
ml-slider 83,225
borlabs-cookie 82,106
fusion-builder 81,492
wp-pagenavi 81,138
ewww-image-optimizer 80,807
smart-slider-3 79,595

Top 50 Themes

Theme Count
hello-elementor 631,095
Divi 521,797
astra 432,703
flatsome 142,108
Avada 127,084
generatepress 125,483
pub 112,409
oceanwp 85,449
kadence 80,767
twentytwentyfour 80,280
enfold 73,503
salient 68,110
h4 57,690
twentyseventeen 57,578
bb-theme 56,107
betheme 53,173
cocoon-master 52,483
blocksy 52,231
dt-the7 47,224
twentytwentyfive 45,213
sydney 42,519
neve 40,452
Avada-Child-Theme 38,420
woodmart 34,046
gox 34,021
bridge 33,548
twentytwentyone 32,826
lightning 31,937
twentytwenty 30,760
swell 28,919
Impreza 27,210
bricks 26,663
voxel 25,694
twentytwentythree 24,488
Newspaper 24,266
sinatra 22,661
kubio 21,620
twentytwentytwo 20,266
uncode 19,571
epik-redesign 19,281
twentysixteen 18,733
storefront 18,307
pro 18,094
Total 15,054
extendable 14,875
yith-wonder 14,120
hello-theme-child-master 13,717
themify-ultra 13,308
yootheme 13,284
hestia 13,196