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. Apr 24th, 2016 8:19 AM

    Thanks in advance for your answer.very good site

  2. Apr 28th, 2015 2:01 PM

    I have visited this blog first time and i got a lot of informative data from here which is quiet helpful for me indeed.

  3. Mar 10th, 2015 5:45 AM

    I downloaded this so that my video post would show in my RSS and although the video posted smoothly in my post, that post still refuses to show in my RSS. Please HELP?

  4. Mar 8th, 2015 1:08 PM

    Very innovative technologies here. I like the idea of remote control through a cell phone, especially when integrated to the level of remote locks, lighting, and plug adapters. The sprinkler system idea is also intriguing.

  5. Alon
    Dec 2nd, 2014 8:05 PM

    Hello, I have installed the plugin but i do not know how to customize the way the videos show up on my website. Please tell me how do I reach the plugin admin panel that is shown on the plugin screenshots?

    Thank you.

  6. Nov 29th, 2014 10:17 PM


    I love the plugin and have been using it for several years but recently my first video on the homepage doesn't autoplay anymore even though all the appropriate boxes are checked.

    Any insight would be appreciated.



  7. Sep 25th, 2014 3:29 PM

    Any chance of being able to remove more of the youtube branding/controls/etc.
    I use this when not using Smart Youtube

  8. Christian
    Aug 31st, 2014 10:53 PM

    Hi, is there a reason, why the youtube, embedded in the post, is not showing a thumbnail ? It just shows a black box and after pressing 'play' it starts to play the movie.

    Any suggestion for this ?

    Thanks in advance for your answer.

  9. Daniel
    Aug 29th, 2014 4:41 PM

    Are there other {tag} options for the Video Appearance field beyond {video}? I'd love to provide a direct link to the video on YouTube or something underneath.

  10. Jul 8th, 2014 5:05 PM

    I use this plugin every week to embed our Sunday Service video from Vimeo. This week however Vimeo finally reached it's 100,000,000th video and now when I embed the link with the 9 digit video # it this plugin leaves off the final digit and embeds another video.

    Is there a plan to adjust the plug-in to keep up with Vimeo's increasing video number?


    • Jul 8th, 2014 5:21 PM

      Hi Todd I just updated the plugin, enjoy.

      • Baz
        Sep 11th, 2014 11:33 PM

        Hi - just hit this same problem - thanks for providing such a quick fix!

  11. Jul 2nd, 2014 1:15 PM

    Hi Vladimir,
    I absolutely love this plugin and have used it for years now. It really has made adding videos so much easier. However, I did recently find a bug. This message has been coming up in my debug.log:

    "[02-Jul-2014 11:13:47 UTC] PHP Notice: wp_register_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. Please see Debugging in WordPress for more information. (This message was added in version 3.3.) in "FILENAME.php" on line 3245"

    I deactivated my Plugins one by one and eventually found that the cause was this plugin. Have you got any plans to fix this?


  12. May 23rd, 2014 5:42 PM

    ** Feature Request: SSL-Support **

    Using the plugin on a https:// site is not really possible at the moment: Browser will not load a a video via http:// from youtube or others to prevent mixed content.

    To get youtube videos workign again, I changed http:// to https:// in the following lines of smartyoutube.php (from Smart Youtube version 4.2.4)
    138, 678, 691, 757, 1022, 1025, 1034, 1059, 1074, 1096, 1098, 1106
    I guess not all of these are necessary.

    It would be great if you could build in a conditional on $_SERVER['HTTPS'] to detect if the WordPress site is running on https or http and then use the appropriate video links. Or enable/disable https:// links in the settings panel.

    Thanks again for a great plugin1

    • May 23rd, 2014 6:25 PM

      In this case, if possible, I would recommend using a protocol relative URL. That way the browser will select the protocol that's applicable for the situation. Prevents issues with edge cases in the code or people not configuring the plugin correctly.

      • May 26th, 2014 10:06 AM

        Hi guys, feel free to patch the plugin and send me the patch, as just throwing ideas around is not scalable ;)

        • Jul 21st, 2014 5:54 PM

          Here is a patch which changes youtube, vimeo and facebook to ssl.
          As I personally do not need it, there is no relative url or check if SSL is used or not.

          • Sep 17th, 2014 4:31 PM

            Is the SSL fix in a recent update or not, how do I use it if so. Super frustrating to not have the videos take the protocol of the page automatically, and more so break if I set it up with HTTPS

  13. akamcf
    May 23rd, 2014 12:57 AM

    one thing I don't understand, why the hell is there a default div surrounding the thumbnail image with some inline style hard coded, these 10px of padding top and bottom.

    you already provide the ability to had some inline style in the settings, which will add an extra element to the dom btw, why don't you put this inline style as default setting there instead ?
    and just hard code a div with a class name that we could just easily style with a CSS rule or use the (proposed) default inline style.

    this plugin is great and I thank you for that but should not have to modify your smartyoutube.php file to get rid of a forced styled dom element, though.

  14. Javi A.
    Apr 25th, 2014 11:21 AM


    I've been tryint to get to options section but now it's unreachable.
    Maybe the new WP version is the cause.

  15. Apr 11th, 2014 2:59 PM


    There is an issue with your extension.
    in your code smartyoutube.php line 137 you put
    meta property="og:image" content="' . $matches[0][5] . '/default.jpg" /

    This thumbnail can't be use by facebook because :
    "Provided og:image is not big enough. Please use an image that's at least 200x200 px" (source :

    you have to change the code :
    meta property="og:image" content="' . $matches[0][5] . '/hqdefault.jpg" /

    Can you change that for the next version ?


    • Apr 11th, 2014 4:26 PM

      Fixed, thanks

      • May 20th, 2014 12:26 PM

        Regarding the "og:image" issue, this is a major problem, a nightmare.

        It interferes when connecting to Facebook in a big way. Any post with a video embedded will have the video image imposed over the "Featured Image" you set before for that post. So if the viewer presses the "Like" button for that post, his Facebook page will show the video image and no other.

        Furthermore, this affects the Main page for any site. If a site has a section with a slider, a carroussel or anything with featured posts, if any of those posts have a video embedded with Smart YouTube Pro, then in Facebook the image for the image of the Index Page (as important as it is the main image for the Front Page of any website) will be the image of the video of that post.

        I've been using Smart YouTube Pro for more than two years with no problem, but this is a major issue that should be corrected.

        For now, I just deleted all the code line. Instead of:

        echo '';

        I just have:


        I know this is a very drastic solution, but I don't know what to do instead. It seems to work well but I don't really know which are the effects for this.

        Thanks in advance

        • May 20th, 2014 12:38 PM

          The new version makes this optional, thank you for the support of this plugin.

          • May 21st, 2014 1:03 AM

            Wow Vladimir, didn't expect you would be so fast fixing this! Wow!

            Thanks very much, now this is 6 stars!

          • m4lvin
            May 23rd, 2014 5:24 PM

            Thank you for the fast update to fix this!

  16. Sheila
    Jan 30th, 2014 9:00 PM

    your plugin says it accepts HTML but every time I try to use a simple H2 tags, it strips it when I hit save??

  17. Kaity
    Jan 19th, 2014 7:26 PM

    *** Feature Request:

    If not already available, please add the ability / option to "download" videos to hard drive, or external hard drive like flash drive.

    That way, if a video is suddenly removed from YT, there is not the ugly "video deleted from user" on my WordPress pages where it previously was.

    Another related feature would be a way to "alert" me of deleted videos by YT in the plugin dashboard? That way, if my site has 100's of YT videos, I won't have to "hunt" through them to see which was deleted.

    This would be awesome! Thanks in advance for considering it.

  18. Ay Zee
    Nov 15th, 2013 8:48 PM

    Where can I find the plugin settings page? I've installed the plugin and it works fine I just cant find the settings page as shown above! I was expecting an additional tab to appear on the left side menu of the admin panel but no.

    Thanks again for such great effort.

  19. Josh
    Oct 14th, 2013 7:01 PM

    I just installed the plugin and everything works great! The only feature I can think of that would be nice to add is the option to "autohide" the YouTube controls. Excellent plugin, though. Thanks!

  20. Oct 9th, 2013 6:16 PM

    When I active your plugin on my development site I get the following notice:

    Notice: wp_register_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or init hooks. Please see Debugging in WordPress for more information. (This message was added in version 3.3.) in *redacted*/wp-includes/functions.php on line 2959

    I would appreciate it if you could take a look at how you're adding scripts with your plugin. This message is quite annoying as it interferes with the layout of WordPress and it's functionality (doesn't break it completely, but does interfere in such a way that some features don't work as intended).

  21. Aug 17th, 2013 12:21 PM

    I know you're not providing support for this plugin BUT I assume you're still updating it, and there's a bug.

    The jquery for the colorbox conflicts with other plugins, EVEN IF I'M NOT USING THE COLORBOX. If I comment out the script relating to the colorbox, everything works like a dream. But that means I hae to keep remembering to redo it every time I update Smart Youtube.

    I saw a thread about the same problem in the wordpress forums, that's how I discovered how to fix it.

  22. Aug 15th, 2013 2:52 AM

    Could update to display the images in the vimeo rss as well ...

  23. Rick H.
    Jul 19th, 2013 3:16 PM

    ¿Podrían agregar soporte para Dailymotion? / Can you add support for Dailymotion?

  24. Jun 23rd, 2013 5:05 PM

    Hi! Sir, I once install some plugin in my blog, and recently I switch to yours and it works well.
    Thank you for this simepl and lite plugin.

  25. Jun 17th, 2013 2:30 PM

    Very interesting tip and this is awesome tutorial.
    Thanks for this.
    Many greetings from Heidelberg.

Have your say

You must be logged in to post a comment.