Smart Youtube

Smart Youtube is a WordPress Youtube plugin that allows you to easily insert Youtube 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.

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

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

  • Embed YouTube videos with ease
  • Embed YouTube playlists
  • Supports latest high quality video protocols (360p and HD quality 720p)
  • Allows full YouTube customization (colors, border, full screen...)
  • Supports video deep linking (starting at desired point with &start=time parameter, use &start=num parameter)
  • Works on iPod and iPhone
  • 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

smarttube screenshot 1 Smart Youtube

Download

dl Smart Youtube

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

If you want to post a HD (DVD quality, 720p) quality video you would use httpvhd:// ('vhd' for video high definition)

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.

Changelog

v3.2
- Added title to widget, fixed HTML code issue with widget

v3.1.1
- param closed properly for HTML validation (thanks Jan Eberl)

v3.1
- wmode transparent parameter updated to better handle transparancy

V3.0

- Added video template, option to set sidebar video size, fixed sidebar widget code, fixed video syntax issue
v2.8
- Supports Playlists

v2.7
- Added support for sidebar widget videos

v2.6:
- Added option to disable search box

v2.5:
- Support for 720p HD (DVD quality) YouTube videos. Use httpvhd://

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

503 Comments

  1. Eamonn Quinn
    Aug 1st, 2009

    Hi Vladimir

    thanks for the plugin.
    Is it possible to display a thumbnail on my posts of the videos?

    thanks
    Eamonn

  2. Ben
    Jul 31st, 2009

    Love the plugin! One question on the admin side. How can I relocate the position of the plugin "stuff" on the add post and add page screens. I have other plugins and I would like to move this as close to the content as I can. Thanks!

  3. Trent
    Jul 28th, 2009

    I love this plugin as well. I also use one of your themes, modified slightly. One problem I have with this plugin is it works great in the sidebars, but using the instructions for adding it to posts it does not work. No clue why.

  4. Esther
    Jul 27th, 2009

    Love this plugin, thank you!
    I mention it in a case-study of a recent project on my blog: http://blog.estherswhite.net/2009/07/one-big-wordpress-site-a-case-study/

  5. Menno
    Jul 24th, 2009

    Love it! Thanks for your work.

  6. Daniel
    Jul 22nd, 2009

    Hi,
    Great plugin and blog - as well as your other plugins!
    Is there any way to auto play a specific video. If I have more then one video in a post/page and I want one to auto play and all the rest not to auto play, how do I do that?
    Thanks,
    Daniel

  7. BrasilOnline
    Jul 22nd, 2009

    Hi, awesome plugin. But after upgrading to 2.8.x occurs an error: the long line (&#8211) will be replaced with -- in the whole content (if a embedded video exists in the post or not) ...

  8. Mark
    Jul 17th, 2009

    Hi there

    I simply love your plugin and it's used widely on my website in all my review posts. It's also in my sidebar widget and as another poster had requested, can we have several instances of this as widgets in same or another sidebar? As you can see from my site I'm actually using different video widgets due to single instance restrictions. I understand it's simple to code in the multi-instances but I'm not a coder.
    Can this be considered for a revision? I'll donate if that can be done as I just want to use your plugin in all my sites.

  9. Elmar
    Jul 16th, 2009

    Klasse Plugin, hab es gerade auf meiner Homepage eingebaut. So stellt man sich als Nicht-Programmierer eine Arbeitserleichterung vor: Einrichten, und es funktioniert super.

  10. Ash
    Jul 16th, 2009

    Hi love the plugin. Any chance of a Smart YouTube/Vimeo version in the future?

  11. Susan
    Jul 13th, 2009

    Thanks for a great plugin and all the work that goes into creating and maintaining it! Much appreciated.

  12. Betsy
    Jun 26th, 2009

    Hi -- I set up this plugin for a client and it's great. One question: Is it possible to use the sidebar widget on more than one sidebar? I have a sidebar1 for my home page and post pages, and sidebar2 that i use on some special pages. But the sidebar widget is not available to add to the 2nd sidebar, now that i've used it on sidebar1. THANKS!

  13. Steven
    Jun 25th, 2009

    Why do my visitors get redirected to youtube when they click on one particular video I posted?

    The other videos are shown standardly but by this one http://www.franzbrandtner.com/songs/johann-pachelbel-kanon-in-d-dur/ my visitors are taken to youtube and are shown the video directly on youtube.

    Why is that so? I of course don't want that at all.

  14. Omar Salgado
    Jun 23rd, 2009

    Shiraz is right, it works only on IE however it does not work for me on opera, safari, firefox. I tried to break up the hyperlinks but it disapeared the video frame and put a mistaken link. Where is the mistake on the address?

    Any ideas?

    Thanks!!

  15. Jim
    Jun 21st, 2009

    @Omar Salgado & @shiraz - I had the same problem. Break the hyperlink so it reads as a non-underlined link. That should fix it.

  16. Don
    Jun 21st, 2009

    @ Omar Salgado - You obviously put in the wrong URL.

    @ shiraz - Just checked your site using Mozilla, worked fine for me.

    Happy Trails. . .

  17. shiraz
    Jun 21st, 2009

    The plugin is good i realize that when using IE and safari it work find but when using Mozilla when play the video it jump to Youtube website.

    Thanks in advance

  18. Omar Salgado
    Jun 21st, 2009

    Hi:

    I am using the pluging but I noticed recently that when I click play on video instead of playing the videos on my webpage it loads the video in youtube web page, what is it wrong?

  19. Jack Speare
    Jun 18th, 2009

    The latest version of the plugin doesn't work. it double-posts videos and leaves extra coding clutter!

    http://i41.tinypic.com/eal3xd.png

    Please fix this. The plugin worked great beforehand!

  20. Don
    Jun 16th, 2009

    Upgraded to WP 2.8 a couple days ago and have not had a problem with this plugin, works great as always. Thanks, Vlad

  21. Tischk
    Jun 16th, 2009

    Using this on all my blogs. Very good plugin. Thank you a lot.

  22. Dean
    Jun 13th, 2009

    Great plugin. Only thing I can't figure out is how to embed a playlist AND have it be high quality. Seems like you can do one or the other, but not both. Suggestions?

  23. Troy
    Jun 11th, 2009

    I have add "&hd=1" to vhd parameters, for activate HD-button.
    (case 'vhd': $high="&ap=%2526fmt%3D22"; break;)

    greez

  24. Mosh
    Jun 11th, 2009

    Hey Vlad,

    Just wondering if you're aware of any issues with WordPress 2.8? If I have Smart YouTube enabled then it causes issues with the Dashboard when I log in - stops some of the windows appearing and disables the popup menus.

    I'm just trying to find out if this is just me!

  25. bnard
    Jun 10th, 2009

    hi,

    i would like to know if your plugin can add the latest video post on my homepage?

Have your say

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

*
*

This site rewards regular commentators with do-follows links to their site.

Subscribe without commenting

About Vladimir

vladimir prelovac Hi! My name is Vladimir Prelovac. I am a computer engineer by profession and an adventurer by state of mind.

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

Books by Vladimir

WordPress Plugin Devleopment Book WordPress Plugin Development: Beginner's Guide

Published by Packt Publishing, available online through Amazon. Click the image for more information.

Consulting Services

Professional WordPress solutions based on custom developed plugins and themes

Expert on-site WordPress SEO consulting and an 'out-of-the-box thinking' approach to problems