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 WordPress.com
  • 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

Example

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

 

Screenshot

Download

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://www.youtube.com/watch?v=00000000

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://www.youtube.com/view_play_list?p=528026B4F7B34094)

To use video deep linking just add &start=time parameter at the end of url. For example httpv://www.youtube.com/watch?v=OWfksMD4PAg&start=30 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.

Vimeo

httpv://vimeo.com/27287078

Metacafe

httpvh://vww.metacafe.com/watch/7815470/harry_potter_and_the_deathly_hallows_dvd_interview/

Liveleak

httpv://www.liveleak.com/view?i=cad_1322822486

Changelog

= 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)

v3.5

- Changes to Iphone video embed

Extra

1056 Comments

  1. Alon
    Dec 2nd, 2014 (3 weeks ago) 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.

  2. Nov 29th, 2014 (4 weeks ago) 10:17 PM

    Hi!

    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.

    Thanks,

    Jason

  3. 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
    modestbranding=1&autohide=1&showinfo=0&controls=0

    • Sep 25th, 2014 3:37 PM

      Hi Alex

      No problem, could you submit a patch for the plugin to me?

  4. 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.

  5. 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.

  6. 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?

    Thanks,
    Todd

    • 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!

  7. 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?

    Thanks,
    Russ

    • Jul 8th, 2014 5:22 PM

      Should be fixed with todays update.

  8. 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.
          http://paste42.de/7205/ytpatchdiff

          • 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

  9. 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.

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

    Hi

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

  11. Apr 11th, 2014 2:59 PM

    Hi,

    There is an issue with your extension.
    in your code smartyoutube.php line 137 you put
    meta property="og:image" content="http://i.ytimg.com/vi/' . $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 : https://developers.facebook.com/tools/debug)

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

    Can you change that for the next version ?

    Thanks

    • 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!

  12. 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??

  13. 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.

  14. 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.
    Regards,

  15. 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!

  16. 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).

  17. 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.

  18. Aug 15th, 2013 2:52 AM

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

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

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

  20. 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.

  21. Jun 17th, 2013 2:30 PM

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

Have your say

Your email is never published nor shared. Required fields are marked *

*
*

  • ManageWP