Smart Youtube WordPress Plugin

Guys I am really sorry but I am not able to provide support for this plugin. That's the "price" of it being free. Most of the things you think don't work, really work, please check the documentation before you despair :)

Smart Youtube is a WordPress Video plugin that allows you to easily insert videos/playlists into your post, comments and in your RSS feed. The plugin is designed to be small and fast and not use any external resources.

Smart Youtube is one of the most popular WordPress plugins, with more than 1,000,000 downloads.

From version 4.0 Smart Youtube changed the name to Smart Youtube PRO and now also supports playback of Youtube, Vimeo, Metacafe, Liveleak and Facebook high quality videos, works on iPhone&iPad, produces xHTML valid code (unlike YouTube embed code), allows you to view videos in fullscreen, has robust widget support and much more.

The videos will be embedded in your RSS feed as well, and if this is not support by the reader you can choose to have video link and/or video preview screenshot displayed instead.

Main Features

  • Easily embeds YouTube, Vimeo, Metacafe, Liveleak and Facebook videos (normal/HD mode)
  • Works on iPhone, iPad and iPod
  • Embed YouTube playlist (normal/HD)
  • Supports latest high quality video protocols (360p and HD quality 720p)
  • Allows full YouTube customization (colors, border, size, full screen...)
  • Supports video deep linking (starting at desired point with &start=time parameter)
  • Supports migrated blogs from
  • Supports migration from other Youtube plugins such as wp-youtube
  • Extract video thumbnails in your archive/category posts
  • Provides a sidebar widget for videos as well
  • Produces xHTML valid code
  • Very fast and light, no extra scripts needed


You can discuss all plugin related issues in the wordpress plugin forums.




Installation & Usage

  1. Upload the whole plugin folder to your /wp-content/plugins/ folder.
  2. Go to the Plugins page and activate the plugin.
  3. Use the Options page to change RSS feed options
  4. When you want to display Youtube video in your post, paste the video link with httpv:// (notice the 'v')

Example: httpv://

0000000 part is your video REF#

The video will be automatically embedded to your post in the proper way.

If you want to post a high/HD (DVD quality, 720p) quality video you would use httpvh:// ('vh' for video high resolution)

To embed a playlist use extension 'vp' (eg. httpvp://

To use video deep linking just add &start=time parameter at the end of url. For example httpv:// will start the video 30 seconds in.

Additionally, you can set how do you want the video to be displayed in your RSS feed. Smart Youtube can show the preview image of the video (automatically grabbed from Youtube), the link to the video, or both. I recommend enabling only the preview image.








= 4.0 =
* Major release
* Added support for Vimeo, Metacafe, Liveleak and Facebook videos
* Now parses http:// and httpv:// videos jsut the same
* Option to autoplay only the first video on the page
* Exctract Video thumbnails
* Show video is Colorbox
* New much better, sidebar Widget support

= 3.9.1 =

Support for WiziApp.

= 3.8 =
* Support for new IFRAME embed code
* Support for HD playlists (httpvhp)
* Support for new play formats (1280x745 & 960x745)


- Changes to Iphone video embed



  1. Jun 14th, 2013 9:11 AM

    Hey there!

    Would it be possible to add an option to load movies from, to be OK with the new EU cookie law?

    Thanks, MAtej

  2. Mar 25th, 2013 5:19 PM

    why thumbnails can't automatically be featured Images?

  3. Fred
    Mar 1st, 2013 12:25 AM


    Thanks for this plugin, it works like a charm!
    One question though : how do you apply the "autohide" param? I see you have it active in your example here but I am not able to reproduce it on my wp site.

    Thanks in advance!

  4. Jan 31st, 2013 12:12 PM

    I like your plugin!

    Found some conditions when your plug-in do not work.

    In my WP websites, I started to use new jQuery (1.9.0). It does not support $.browser function, but colorbox depends on it. So, if you use new jQuery, plugin does not work properly - colorbox will not show video.

    Solution is to update colorbox libraries, because they solved it.

  5. Jan 30th, 2013 4:32 AM
    • Jan 30th, 2013 4:35 AM

      Sorry, my tags didn't get htmlspecialchars'ed to viewable code... It's the <a> tags that are getting closed by mistake with </iframe> tags.

  6. Andre
    Jan 1st, 2013 6:27 PM

    Hello Dear Support,

    I would like to ask if its possible and if you find that its worth the hassle working on this issue of course, in next updates to make video deep links to work with youtube share (short) link too?

    Im talking about this one:
    "" (copied as is from youtube page "share this video" section)

    With the present time format (if its impossible with youtube default time format) would be:

    But for now it works only with: ""
    When "" video starts from very start (time setup not working)

    Expecially its a bit frustrating when need comes to get the right format links from video on playlists on youtube + set the time. Because the right link ""_N is not at the address bar (on address bar its playlist link, not video) and not on "share this video" field too (its short one).

    Of course for those who add a couple of videos once in a while its nonsense, but when adding several dozens videos a day its a bit more time consuming.

    Other than that really beautiful plugin! :)

    Thank you very much for reading my concern :)
    Best regards,

  7. Alex S
    Nov 21st, 2012 5:53 PM

    Hi - Great plugin!
    We're just transitioning to Vimeo from Youtube. It would be great if there was a way to remove the title, byline and portrait.
    You already have an option "Remove Titles & Ratings". Perhaps this could append ?title=0&byline=0&portrait=0 to the VIMEO URL.


  8. Greg
    Nov 11th, 2012 3:04 AM

    Hey GREAT plugin - will you be adding support for markup? And other features like overlays etc. by any chance?

  9. Nov 3rd, 2012 12:31 AM

    I dont think your plugin takes WordPress sites existing on subdomains into account? On the menu it echoes, "../wp-content/plugins/smart-youtube//i/icon.png" and on the settings page, " /wp-content/plugins/smart-youtube//screenshots/screenshot-1.jpg ". Both come up 403 on my site.

  10. Jonno
    Nov 1st, 2012 7:07 AM


    Great plugin! Thank you.

    One problem - video thumbnails don't display nicely on iPhone (iOS 6). i.e., it's not "responsive".

    It looks like it's trying to display at a size that's wider than the devices screen. So that the user ends up seeing something that looks cut off - as if the video not resizing to suit the screen width.

    Is there a setting or something we can use to fix this?

    Thanks for listening.

  11. Sep 27th, 2012 4:36 AM

    Love the plugin Vladimir. One feature request - I noticed on line 138 in you automatically insert a meta tag for the OG:IMAGE. It would be ideal to allow the user to turn this off if they are already inserting the OG:IMAGE through another plugin or manually. Having multiple OG:IMAGES does cause issues with TWITTER CARD functionality I'm trying to implement and I had to manually comment out the code to disable it.



  12. Idin
    Sep 22nd, 2012 8:40 PM

    Bug report!
    old youtube playlist IDs were 18 characters long.
    and you used
    preg_match_all( "/((http(v|vh|vhd)?:\/\/)?([a-zA-Z0-9\-\_]+\.|)?youtube\.com\/watch(\?v\=|\/v\/|#!v=)([a-zA-Z0-9\-\_]{11})([^<\s]*))|((http(v|vh|vhd)?:\/\/)?([a-zA-Z0-9\-\_]+\.|)?youtu\.be\/([a-zA-Z0-9\-\_]{11}))|((http(v|vh|vhd)?:\/\/)?([a-zA-Z0-9\-\_]+\.|)?metacafe\.com\/watch\/([a-zA-Z0-9\-\_]{7})\/([^<^\/\s]*)([\/])?)|((http(v|vh|vhd)?:\/\/)?([a-zA-Z0-9\-\_]+\.|)?vimeo\.com\/([a-zA-Z0-9\-\_]{8})([\/])?)|((http(v|vh|vhd)?:\/\/)?([a-zA-Z0-9\-\_]+\.|)?liveleak\.com\/view(\?i\=)([a-zA-Z0-9\-\_]*))|((http(v|vh|vhd)?:\/\/)?([a-zA-Z0-9\-\_]+\.|)?facebook\.com\/video\/video.php\?v\=([a-zA-Z0-9\-\_]*))|((http(vp|vhp)?:\/\/)?([a-zA-Z0-9\-\_]+\.|)?youtube\.com\/(view_play_list\?p\=|playlist\?list\=)([a-zA-Z0-9\-\_]{18})([^<\s]*))/", $the_content, $matches, PREG_SET_ORDER );

    new youtube playlist IDs are 34 characters long.
    I changed your code to the following to address this change:
    preg_match_all( "/((http(v|vh|vhd)?:\/\/)?([a-zA-Z0-9\-\_]+\.|)?youtube\.com\/watch(\?v\=|\/v\/|#!v=)([a-zA-Z0-9\-\_]{11})([^<\s]*))|((http(v|vh|vhd)?:\/\/)?([a-zA-Z0-9\-\_]+\.|)?youtu\.be\/([a-zA-Z0-9\-\_]{11}))|((http(v|vh|vhd)?:\/\/)?([a-zA-Z0-9\-\_]+\.|)?metacafe\.com\/watch\/([a-zA-Z0-9\-\_]{7})\/([^<^\/\s]*)([\/])?)|((http(v|vh|vhd)?:\/\/)?([a-zA-Z0-9\-\_]+\.|)?vimeo\.com\/([a-zA-Z0-9\-\_]{8})([\/])?)|((http(v|vh|vhd)?:\/\/)?([a-zA-Z0-9\-\_]+\.|)?liveleak\.com\/view(\?i\=)([a-zA-Z0-9\-\_]*))|((http(v|vh|vhd)?:\/\/)?([a-zA-Z0-9\-\_]+\.|)?facebook\.com\/video\/video.php\?v\=([a-zA-Z0-9\-\_]*))|((http(vp|vhp)?:\/\/)?([a-zA-Z0-9\-\_]+\.|)?youtube\.com\/(view_play_list\?p\=|playlist\?list\=)([a-zA-Z0-9\-\_]{18,34})([^<\s]*))/", $the_content, $matches, PREG_SET_ORDER );

    • Sep 23rd, 2012 11:26 AM

      Thanks included it in today's patch

      • Charaf Al Amine ZOUA
        Oct 19th, 2012 7:25 PM

        Hi Vladimir

        sorry for the prompt message, but i need your help please
        i'm using this theme

        if you notice in excerpts there is picture, categories, post title, and then post text preview.
        but with videos using Smart YouTube Pro, the order is like : categories, post title, embed video, and then post text preview.

        please help me make my website looks like just the demo and nothing more.

        thanks a lot.

  13. Aug 14th, 2012 11:20 AM

    Hi Vladimir
    I really love your Smart YouTube Pro plugin.
    I have a little problem to make my new video start en HD. I have tried different kind of URL but none of them seems to work.
    The link I have tried is:

    What ever I do is starts in 360p and I have to change the quality myself. Do you have any idea on what is wrong?

    • Dec 11th, 2012 8:25 PM

      Same problem here!!! Whatever code I use, it still starts in 360p…

  14. Jul 23rd, 2012 9:19 PM


    I was just trying to embed this link:
    into a blog, and it wouldn't work, although the vimeo embed code worked fine. Just thought I'd let you know.

    -eric o

  15. Jul 21st, 2012 8:31 PM

    Hi Dimitri, please help me.

    I install smart plugin and you can see a video in:

    The problem is:

    1) each video show two times

    2) togheter to video apperas the next:

    height=”745″>Video” />Video” type=”application/x-shockwave-flash” allowfullscreen=”true” width=”960″ height=”745″>

    Please help me

  16. Jul 10th, 2012 9:27 AM

    Thanks for share ! good like

  17. James
    Jun 14th, 2012 6:26 PM


    Can I trigger a lightbox video without adding an embedded image? For example, I already have an image in a slider. And I want the user to be able to simply click the slider image and have the video pop-up.

    Also, do I have to show the entire width/height of the YouTube or Video video? Can I have custom dimensions, so that the sides of the video image are masked out?
    I will donate if this plug-in works for me.


    thanks for any advice.

  18. Jun 11th, 2012 5:43 PM

    Request: Addition of CNBC and Bloomberg videos. I frequently embed these but they make for some of the ugliest formatting because I'm not sure how to resize them.

  19. Jun 10th, 2012 10:52 PM

    I installed your plugin as it seems very useful, but i get an error on my website. When a video is embed in coments it shows duplicated and with some html codes in between. (e.g. )
    is that a way to solve this? thank you

  20. SimonRasch
    Jun 7th, 2012 9:35 PM

    Nice plugin, like it !

    It displays a WordPress Debugging message in the top of my screen.
    I disabled my plugins one by one, and it seems to be Smart Youtube PRO that caused the error.

    Am I missing an update?
    Currently running 4.6.1


  21. What
    Jun 1st, 2012 8:35 PM

    Hello, Plugin VIMEO don't work with Opera Browser. In Firefox is Okay but when plugi don't play in HD mode, HD mode must be change manualy in YT window... :(

  22. May 30th, 2012 10:46 PM

    I notice that if you want to start a YouTube video at some time other than zero, that the desired start time must be referenced in total seconds, not minutes/seconds as referenced in this post.

    For instance, instead of appending a video with &start20m37s, just the number of seconds would be included (with no symbol for "seconds"). Here is an example:


  23. Mohammad
    May 28th, 2012 2:47 AM

    I could solve the problem of linking the text after the video with the same video, by disable the colorbox feature .

    i wish you can help us by providing someway to stop linking the text after the video url.

    Many Thanks

  24. May 27th, 2012 8:07 PM

    Hi! I changed my WP theme Graphene to Aggregate by Elegant Themes. On my recent theme all vids were displayed on the homepage as thumbnail right before the post text. But that does not work on the Elegant Theme anymore.

    Any idea to make the thumbnails available on the new Thema?

  25. Mohammad
    May 27th, 2012 10:20 AM

    Hi , its wonderful plugin
    when i activate the colorbox the text under the video become linked to the video too.


    but not all the time it happen
    i wish i can know how to stop this to happen

Have your say

You must be logged in to post a comment.