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

Plugin: youtube-embed (Used by 2,259 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
d*l*i*n*t.com (WP 6.9.4) D 2026-04-17 21:00:04
r*p*o*u*w*g.com F 2026-04-17 20:54:02
s*p*u*.com (WP 6.9.4) F 2026-04-17 20:42:34
a*t*k*n*e*s*t.com F 2026-04-17 19:06:19
a*t*c*n*e*s*t*.com F 2026-04-17 18:22:20
f*l*p*h*d*b*.eu (WP 6.2.9) ⚠️ F 2026-04-17 16:10:48
a*t*e*a*a*d*.com F 2026-04-17 15:54:33
b*e*d*r*j*h*p*.nl (WP 6.9.4) F 2026-04-17 14:02:02
g*b*a*k*h*m*e*.org F 2026-04-17 13:47:34
k*i*h*r*b*r*s*n.com (WP 6.9.4) F 2026-04-17 13:21:15
f*m*l*g*a*n*o*e.com (WP 6.9.4) F 2026-04-17 12:53:15
b*i*a*a*i*p*r*t.com (WP 6.9.4) F 2026-04-17 11:47:25
h*l*i*g*e*i*r*t*a*e*c*u*.com F 2026-04-17 11:16:57
h*l*i*g*e*i*r*o*b*e*a*d.com F 2026-04-17 11:16:56
k*e*i*g*o*m*n*l*c*.com (WP 4.5.28) ⚠️ F 2026-04-17 09:08:42
t*e*t*n*a*l*.com F 2026-04-17 08:51:52
b*i*h*-*i*e*c*u*s*l*n*.com (WP 6.7.5) C 2026-04-17 07:07:24
r*n*b*s*h.com F 2026-04-17 06:39:13
o*e*o*i*h*o*s*i*i.com (WP 6.9.4) F 2026-04-17 06:37:46
s*r*n*b*k*n*t*u*e*t*.com (WP 4.9.3) ⚠️ 🔓 F 2026-04-17 06:04:04
t*e*d*n*e*.com (WP 6.9.4) F 2026-04-17 05:41:02
s*r*e*a*t*m*t*v*.com (WP 6.9.4) 🔓 D 2026-04-17 05:33:15
s*r*e*a*t*.com (WP 6.9.4) D 2026-04-17 05:33:15
h*t*h*l*e*.com F 2026-04-17 05:16:19
d*d*a*s*p*e*c*u*.com (WP 6.4.3) ⚠️ F 2026-04-17 04:52:02
a*n*t*e*a*g*r*t.com F 2026-04-17 04:51:48
m*z*a*s*c*a*e*.com (WP 5.5.18) ⚠️ F 2026-04-17 04:33:20
o*d*e*o*t*u*.com F 2026-04-17 04:28:06
z*s*h*e*l*e*a*r*n.com B 2026-04-17 03:48:49
h*l*c*p*e*4*.com (WP 6.9.4) F 2026-04-17 02:53:37
m*y*h*r*c*b*w*t*y*u.com (WP 6.9.4) F 2026-04-17 02:45:31
z*c*e*1*0*.com F 2026-04-17 01:12:21
b*i*n*s*o*e*c*a.com F 2026-04-17 01:02:59
b*i*n*c*w*b*u*r.com (WP 4.8.28) ⚠️ F 2026-04-17 00:47:03
s*o*t*m*s*e*.com (WP 4.9.9) ⚠️ F 2026-04-17 00:16:10
s*o*t*i*j*r*p*e*i*t*r.com (WP 6.9) D 2026-04-16 23:51:30
a*n*j*r*d*.com (WP 6.9.4) F 2026-04-16 23:49:06
t*e*t*c*e*k*n.com F 2026-04-16 23:30:04
d*c*s*e*k*.com (WP 6.9.4) F 2026-04-16 23:10:13
k*z*i*r*s*.com F 2026-04-16 23:10:04
r*m*d*l*d*.com (WP 6.9.4) D 2026-04-16 22:52:39
h*i*h*f*h*a*e*.com (WP 6.8.5) F 2026-04-16 22:45:27
h*r*t*c*v*l*a*i*n.com (WP 6.9.4) F 2026-04-16 22:28:02
f*d*h*b*i*s.com F 2026-04-16 21:49:50
a*m*l*a*k*a*.com (WP 6.9.4) F 2026-04-16 21:45:59
d*c*l*k*.com F 2026-04-16 20:41:43
r*l*a*a*l.com F 2026-04-16 19:03:07
m*x*t*u*i*g*r.com F 2026-04-16 19:01:09
m*x*c*m*l*n*.com F 2026-04-16 18:43:31
r*l*a*l*r*c*p*i*n*s*.com F 2026-04-16 18:43:04
d*b*r*h*i*n*a*m.com (WP 6.9.4) F 2026-04-16 18:27:50
h*c*f*r*s.com D 2026-04-16 18:13:47
h*c*f*r*m*l*i*e*i*.com D 2026-04-16 18:13:47
h*c*f*r*e*h*b*t*o*s.com D 2026-04-16 18:13:47
h*c*f*r*-*r*n*e*s.com D 2026-04-16 18:13:47
h*c*f*r*-*x*i*i*i*n*.com D 2026-04-16 18:13:47
d*b*r*e*.com (WP 6.9.4) F 2026-04-16 17:38:40
z*m*i*c*b*.com (WP 6.9.4) F 2026-04-16 17:19:25
h*a*y*e*a*r*o*t*r.com (WP 6.9.4) F 2026-04-16 16:44:33
s*l*t*e*p*o*u*t*o*s.com F 2026-04-16 16:20:11
h*a*e*s*a*f*r*.com F 2026-04-16 16:17:28
h*a*e*l*h*r*s.com F 2026-04-16 15:51:49
r*l*t*o*s*i*r*v*r*e*e*o*t.com F 2026-04-16 15:49:51
r*l*t*o*s*i*r*v*r*e.com F 2026-04-16 15:49:51
d*a*s*m*r*e*.com F 2026-04-16 14:37:24
s*i*i*u*l*i*e*n*l*a*e*s*i*.com (WP 6.8.5) C 2026-04-16 14:05:38
m*x*o*p*.com F 2026-04-16 13:57:47
z*a*r*n*g*c*o*.com (WP 6.9.4) F 2026-04-16 13:43:59
a*i*a*t*a*k*r*w*l*l*f*.com F 2026-04-16 13:33:55
s*i*r*a*s*u*i*s.com F 2026-04-16 11:27:42
o*m*d*s*m*.com (WP 6.9.4) F 2026-04-16 10:30:24
m*u*t*e*t.com (WP 6.9.4) F 2026-04-16 09:51:36
z*n*c*e*i*r*p*i*.com (WP 6.9.4) D 2026-04-16 09:39:58
p*o*i*s*r*n*t*s.org (WP 6.9.4) F 2026-04-16 09:34:41
k*t*e*u*c*o.com F 2026-04-16 09:21:21
a*g*y*u*k*r.com (WP 6.9.4) F 2026-04-16 08:43:27
e*q*i*g*a*q*i*e*t*r*.com F 2026-04-16 07:41:57
d*e*r*d.com (WP 6.7.5) F 2026-04-16 07:22:17
m*t*s.com (WP 6.9.4) F 2026-04-16 06:57:59
m*t*t*m*s*c.com (WP 3.5.1) ⚠️ F 2026-04-16 06:57:56
m*t*t*e*e*l*o*.com F 2026-04-16 06:11:56
k*t*r*i*l*r*u*i*.com (WP 6.9.4) F 2026-04-16 05:26:02
r*g*i*s*i*e.com F 2026-04-16 05:24:04
r*g*i*s*h*c*g*.com F 2026-04-16 05:24:04
m*t*p*i*e*.com (WP 6.9.4) F 2026-04-16 05:23:52
d*o*e*t*.com F 2026-04-16 05:22:21
m*t*o*o.com (WP 6.9.4) F 2026-04-16 05:16:18
k*t*p*c*i*.com F 2026-04-16 05:14:46
e*w*c*a*h*n*.com (WP 6.9.4) F 2026-04-16 04:34:55
m*t*h*a*r*t*e*.com F 2026-04-16 04:22:51
o*2*.com (WP 6.9.4) F 2026-04-16 03:47:31
h*a*o*h*s.kiev.ua F 2026-04-16 03:25:47
t*a*s*e*.com (WP 6.9.1) D 2026-04-16 02:45:08
b*a*d*n*p*w*r.com F 2026-04-16 02:43:37
e*e*i*h*g*n.com F 2026-04-16 02:36:10
r*f*i*e*a*o*w*t*r*i*t*r*.com (WP 6.9.4) 🔓 F 2026-04-16 01:57:27
a*g*l*s*a*l*u*i*.com (WP 6.9.4) F 2026-04-16 01:50:53
o*i*i*l*e*t*y*.com (WP 6.9.4) F 2026-04-16 01:43:43
o*e*i*e*.ouest-france.fr (WP 6.9.4) F 2026-04-16 00:07:35
z*r*u*t*t*e*.com (WP 6.9.4) F 2026-04-15 23:43:27

Top 50 Plugins

Plugin Count
elementor 2,368,660
contact-form-7 2,165,742
elementor-pro 1,339,282
woocommerce 1,106,703
revslider 804,310
js_composer 530,877
jetpack 484,639
wp-rocket 389,835
essential-addons-for-elementor-lite 359,758
header-footer-elementor 302,272
gravityforms 287,280
gutenberg-core 285,037
elementskit-lite 282,099
instagram-feed 275,782
google-analytics-for-wordpress 272,178
complianz-gdpr 270,429
google-site-kit 265,816
cookie-law-info 263,112
sitepress-multilingual-cms 237,355
bluehost-wordpress-plugin 222,062
wpforms-lite 208,504
astra-sites 200,980
litespeed-cache 184,041
gutenberg 161,055
gtranslate 160,356
cookie-notice 154,723
coblocks 151,046
the-events-calendar 138,588
popup-maker 130,621
astra-addon 117,526
bb-plugin 116,893
premium-addons-for-elementor 115,563
LayerSlider 114,529
wp-smushit 112,870
mailchimp-for-wp 112,465
tablepress 112,043
duracelltomi-google-tag-manager 102,991
creame-whatsapp-me 101,138
woocommerce-gateway-stripe 99,458
cleantalk-spam-protect 99,356
akismet 98,244
honeypot 97,491
pro-elements 96,302
custom-fonts 95,998
megamenu 95,219
click-to-chat-for-whatsapp 94,671
smart-slider-3 94,485
fusion-builder 93,566
woocommerce-payments 93,551
pixelyoursite 91,524

Top 50 Themes

Theme Count
hello-elementor 769,644
Divi 635,348
astra 614,047
pub 191,746
generatepress 144,742
flatsome 144,379
Avada 142,802
h4 112,219
oceanwp 105,657
kadence 94,582
enfold 82,321
salient 79,395
bb-theme 73,914
twentytwentyfour 71,880
blocksy 68,513
cocoon-master 66,956
twentytwentyfive 66,128
betheme 64,393
twentyseventeen 64,315
dt-the7 53,473
woodmart 50,720
neve 46,795
twentytwentyone 40,531
bridge 39,831
Avada-Child-Theme 38,321
gox 35,982
swell 35,730
twentytwenty 35,365
lightning 35,050
twentytwentythree 32,983
bricks 28,895
Impreza 28,845
Newspaper 26,260
twentytwentytwo 25,826
epik-redesign 22,776
pro 21,533
storefront 21,429
extendable 21,361
uncode 21,205
twentysixteen 20,923
yith-wonder 19,625
sydney 19,495
themify-ultra 18,258
Total 17,405
twentyfifteen 16,409
porto 15,712
hestia 15,361
yootheme 14,498
thrive-theme 14,418
twentynineteen 14,414