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

From version 2.0 Smart youtube also supports playback of high quality videos, works on iPhone, produces xHTML valid code (unlike YouTube embed code)  and allows you to view videos in fullscreen.

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 videos
  • Supports YouTube high quality video protocol
  • Supports video deep linking (starting at desired point with &start=time parameter)
  • Has an option to show video thumbnail picture in your RSS feed
  • Works on iPod and iPhone
  • Produces xHTML valid code
  • Very fast and light, no extra scripts needed
  • Allows full YouTube customization (colors, border, full screen…)

Example

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

Screenshot

smarttube-screenshot-1 Smart Youtube

Download

dl Smart Youtube

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 want to display a high quality video then just use httpvh:// instead.

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.

Changelog

v2.4:
- Supports 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

v2.3:
- xHTML valid code is now an option because it breaks videos in some browsers and feeds

v2.1:
- Smart Youtube videos are compatible with iPhone.
- Fullscreen enabled

v2.0:
Suport for high quality videos from youtube

v1.91:
Rewritten old parts of plugin and general tweaks.

v1.9:
Added video autoplay option.

v1.8:
Solved problem with HTML validation, added full video in RSS feed.

v1.6:
Solved problem with WordPress handling special characters.

Extra

253 Responses to “Smart Youtube”

  1. Funciona. Gràcies.

  2. Hi Vladimir,

    I am getting the following error when I Enable xHTML Validation, I am running Firefox

    Not Found
    The requested URL /<span class= was not found on this server.

    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

  3. Just now, “fmt=22″ option has come. Cool stuff!:)

    Watch YouTube Videos in 720p by Adding “&fmt=22″ to the Link

  4. Vladimir,

    This plugin is much better than entering in the YouTube path manually. I tried another YouTube plugin but went back to hand coding because it’s easier to remember.

    I will head over to Wordpress and give a thumbs up for this Smart YouTube plugin. Now to recode all my previous blog posts :)

  5. Good plagin long been looking for him very much

  6. @Vladimir - Hi, the smart youtube plugin is not showing up in my plugin page to activate it on my wordpress blog. What do I need to do?

    Thanks,
    Caleb

  7. Originally Posted By MikeVladimir, what a great plugin!!! btw, what new in the latest update dated today 7/nov? I can’t find any info about it.

    greetings!

    mike

    reply was in the comments… thanks Vladimir! Sorry I can’t delete my post :(

  8. Vladimir, what a great plugin!!! btw, what new in the latest update dated today 7/nov? I can’t find any info about it.

    greetings!

    mike

  9. Released a small update today to address the rss feed issue as well the issue Marina mentioned.

  10. @Jon - have you figured it out yet? I too have the same problem of it not showing up in my activate plugin page.

  11. Can more than one video be featured in the same pane? For example, have one box for the video and have several videos accessible from that one interface?

  12. First of all, this is a great plugin, especially when I use my RSS to import into other apps, like Facebook.

    I needed to add a few things in order to get high quality videos to work properly. First the default height of the video is 360px, but the embedded player has a height of 385px, which I just changed in the settings in WP.

    The other bigger issue was the link in the RSS feed pointing to the wrong URL. the property at the end of the URL needed to be “&fmt=18″ instead it was going to “&ap=%2526fmt%3D18″. That requires a separate variable in the PHP code for the URL and the embedded code. I would’ve included my changes below, but your spam filter won’t let my comment through even with code

  13. Thanks Vladimr for the update. This is really a much needed feature.

    Thanks again.

    Cheers,
    Vijay
    http://www.vijayforvictory.com

  14. Released version 2.4 with support for video deep linking. More information in this post: http://www.prelovac.com/vladim.....ube-plugin

  15. @HotForWords - Marina please send me the code you change for HQ thumbs. When did you learn to code ? ;)

  16. YouTube now has HIGH QUALITY thumbnails (still images)… but I had to change the code of your plugin to show them. Oh.. and YouTube now shows ADS on embedded videos (which is good for producers of content, obviously)

    Anyway… Vladimir, go to my website and check out my latest videos.. you see the HQ Thumbs and the ads. It’s pretty cool.

    I removed: rel=0 and the color stuff from the plugin to make them work.. the second I put rel=0 in and it goes back to low quality thumbs and no ads.

    Marina
    http://www.hotforwords.com

  17. I wanted to test dailymotion plug :
    http://www.dailymotion.com/vid.....fadf_music

  18. I just did what HotForWords did & my iPod Touch is now showing the YouTube previews. Thanks HotForWords!

  19. YouTube videos are showing up as blue lego blocks on my iPod Touch again. Not sure what update caused this. Can you help Vladimir? Thanks.

  20. thanks for the plugin, works great with youtube videos. Only issue that I notice is that when I select a lightbox picture on the same page as the video box it open behind the box.
    not an issues, just for you to note.

Leave a Reply

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>