Smart Youtube WordPress Plugin


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

Comments:

1021 Comments

  1. Mike
    Feb 7th, 2012

    Vlad, I am unable to navigate back to your forum - I can't find it HAHA!
    But I have a question for you:
    Can you tell me why your smart youtube player will work on one of my wpmu sites but not another with the eaxct same template and built roughly at the same time? They have the same features but one will not play the videos at all (render)...
    Please advise

    I would like to use this site wide but am unalbe to get it to work consistantly.
    Thank you

  2. Maria
    Feb 1st, 2012

    Hi,

    Something happened with the plugin and now when I add a text link to a Youtube video in my post it automatically displays the video. I just want the text with the link to Youtube page, not the embedded video.

    Any idea?

  3. kathoey
    Jan 30th, 2012

    hi,

    Is there a way that you can add the play video symbol in the middle of the image that is supposed to be the video? People often mistake the image as AN IMAGE, because there is no distinguishing mark unless i label it as a video or tell peple to click it and the video will pop out.

    Pls. fix this maor problem. Pls. differentiate an image from a video as what a video embed should and standard look like.

  4. Tarkvara TV
    Jan 27th, 2012

    BUG REPORT

    Your plugin has a VIMEO bug.

    Below are two links, first one is ignored. Second is parsed. Seems that there is some kind video id or ulr limit used?

    httpvh://vimeo.com/9544230

    httpvh://vimeo.com/27287078

  5. Dr S. K. Verma
    Jan 22nd, 2012

    I will correct my own statement and obeservation. In fact, the first video was twice in the original playlist itself, therefore, it played 2nd time too, and I thought that first video itself is being repeated again and again. Now, I can confirm that plugin is working great for playlist and it plays as it should be. Reference for you here:

    http://kolaveridi.org.in/more/smart-youtube-pro-exclusive/

    Thanks Vladimir Sir. You are Genious!

    Dr S. K. Verma

  6. Dr S. K. Verma
    Jan 22nd, 2012

    After the latest update (approx 4 hrs ago) I added this working example:

    http://kolaveridi.org.in/more/smart-youtube-pro-exclusive/

    In this example the url of the original p[laylist on youtube is:

    http://www.youtube.com/playlist?list=PLDF72B5A7B41CD534

    I took the last bit (i.e. PLD.......34) as playlist number and used the code. Above is the result. I noticed that it plays well, but keep repeating the same (first) video again and again. i.e. does not play entire playlist. Could someone else confirm this?

  7. Dr S. K. Verma
    Jan 22nd, 2012

    OK friends. I have a working example of Smart Youtube Pro Playlist here:

    http://kolaveridi.org.in/more/smart-youtube-pro-exclusive/

    I also added some comments on the above page as my observation. Check out...

  8. Vladimir
    Jan 22nd, 2012

    4.1.2 just released and fixes the playlist problem!

  9. F3rnand0
    Jan 22nd, 2012

    Hello, I wonder if it is possible to make in the image will be centered in the RSS and that the link is to the same blog post and not to the youtube video ...

  10. TBU
    Jan 21st, 2012

    Implemented and working great on http://www.tbu.ro, but had to manually add some video parameters

  11. TBU
    Jan 21st, 2012

    Hi, great plugin, you have a little bug on the 4.1.0 version, on the Hide Youtube Logo.

    In the if statement you have : if ( $logoless = 'on' ) {, which keeps the option always on, you should change it to : if ( $logoless == 'on' ) {

    Also if you could add an input box to enable us to manually add more video options, on plugin's settings page, would be great

    • Vladimir
      Jan 21st, 2012

      Good spot, fixed today.

  12. Ozcorps
    Jan 21st, 2012

    I love the plugin seeming its the only one left that has ability to have thumbnails without a crap load of coding, great job on that btw. but i wanted to know maybe with some modifying or if it can be added in future editions. I save alot of videos from other users to my playlist in categories and i see as for now you can add playlist using the httpvp:// extension but this only allows ALL videos to be in one post from that playlist. so i was wondering if there was a way to have all the playlist videos from that URL to post into individual post. or a playlist import manager that then i can afterwards i can add them to wordpress respective cats..

    • Ozcorps
      Jan 21st, 2012

      Also Videoplaylist code using httpvp:// is current not working

      • Vladimir
        Jan 21st, 2012

        Works well for me, can you give an example?

  13. Gustaw
    Jan 20th, 2012

    There is still a problem.
    After updating to version 4.1 video is not displayed on page with posts.
    Displays only after entry in the post.
    In the previous version (3.x ) it worked.
    Can you fix it?

  14. Vladimir
    Jan 20th, 2012

    New version released today 4.1.0

    * Added wmode=transparent as default paramater
    * Added support for new Playlist format

  15. Topher
    Jan 17th, 2012

    I'm not sure if someone has already explained, or covered this in a previous comment, and if so i apologize for repeating it, but i was having issues finding a fix until I resolved it myself.

    Primarily in chrome and safari, if you are having issues with the videos displaying over top drop down menus or pop-out windows, then a quick fix in the back end can be added to the smartyoutube.php file on lines 1039 and 1041:

    Original Code -

    LINE 1039 - $video_url = htmlspecialchars( "$root_url/embed/$file?fs=1&hl=en$ap$ll&loop=$loop{$disp_info}$disp_ann&showsearch=$disp_search&rel=$disp_rel&theme=$theme", ENT_QUOTES ) . $high . $time;
    LINE 1040 - else
    LINE 1041 - $video_url = htmlspecialchars( "$root_url/v/$file?fs=1&hl=en&$ap$ll&loop=$loop{$disp_info}$disp_ann&showsearch=$disp_search&rel=$disp_rel&theme=$theme", ENT_QUOTES ) . $high . $time;

    Updated Code -

    LINE 1039 - $video_url = htmlspecialchars( "$root_url/embed/$file?wmode=transparent&fs=1&hl=en$ap$ll&loop=$loop{$disp_info}$disp_ann&showsearch=$disp_search&rel=$disp_rel&theme=$theme", ENT_QUOTES ) . $high . $time;
    LINE 1040 - else
    LINE 1041 - $video_url = htmlspecialchars( "$root_url/v/$file?wmode=transparent&fs=1&hl=en&$ap$ll&loop=$loop{$disp_info}$disp_ann&showsearch=$disp_search&rel=$disp_rel&theme=$theme", ENT_QUOTES ) . $high . $time;

    Hope this is able to help someone

  16. Dr S K Verma
    Jan 17th, 2012

    Dear All,

    I confirm that the plugin is working perfectly fine in the widget area. My concern previously was only the 'embed playlist issue', which was not working. I did not find any conflict with any plugin so far. Working videos in sidebar can be seen on my website home page (Titled Must Watch English Remix) : http://kolaveridi.org.in

    sunil

  17. jonathan
    Jan 16th, 2012

    Can also confirm that playlists don't work. Thank you.

  18. Mario
    Jan 16th, 2012

    Thanks for this plugin end for all that helpful comments…

  19. estainfo
    Jan 15th, 2012

    embed playlist not working. please advise. thanks

  20. omahajoe
    Jan 14th, 2012

    The playlists don't work now with this plugin upgrade. Any fixes in the works or help?

  21. Jason
    Jan 12th, 2012

    I've been trying to get this working on my site at http://flightattendanttraininghq.com but I just can't get it to work! Help?

  22. Dr S. K. Verma
    Jan 4th, 2012

    Sir,

    embed playlists function is not working. We see the modified url as such (See here
    http://kolaveridi.org.in/2012/01/04/smart-you-tube-test-post/

    Please advise..Thanks

    Dr. S. K. Verma

  23. David - Diseño Web
    Jan 3rd, 2012

    I get this error when i activate your plugin:
    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 /usr/home/closemarketing/www/wp-includes/functions.php on line 3578

    Any idea? I have wordpress 3.3.

  24. jonathan
    Dec 27th, 2011

    Hi there. First and foremost, thank you for this excellent plug-in.
    I wanted to ask if it supports Google Videos? As far as I can tell it does not, unless I am putting in the wrong google video link.
    Do you have plans to add support for Google Videos? Do you recommend any particular plugin for google videos that 1) won't interfere with your plugin, and 2) will make for an easy transition of Google Video links when your plugin supports GV?

    Cheers,
    Jonathan

  25. Alison Griffiths
    Dec 22nd, 2011

    I just updated the plugin and now it has killed another plugin JQuery Lightbox for Native Galleries - which is a big favourite of mine. Is there a no conflict check box or anything?

Have your say

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

*
*

Subscribe without commenting

About

vladimir prelovac Vladimir Prelovac is CEO of Prelovac Media, a computer engineer by profession and an adventurer by state of mind. more +


"I would love to change the world, I just don't have the source code yet."

Services

Manage multiple WordPress sites

Built for WordPress enthusiasts, ManageWP helps you manage all your WordPress sites from one central location.

Books

WordPress Plugin Devleopment Book Read my book WordPress Plugin Development: Beginner's Guide

Published by Packt Publishing, available online through Amazon.