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
- Upload the whole plugin folder to your /wp-content/plugins/ folder.
- Go to the Plugins page and activate the plugin.
- Use the Options page to change RSS feed options
- 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
- Visit my other interesting WordPress Plugins.
- Looking for a WordPress Expert ?








991 Comments
How to have 480 as the default size if video has 480? I try both httpv:// or httpvh://, if the video has 360 and 480, just always show the 360 one. If having 72o and 1080, it would show 1080.
Hi all,
What's beginning to really annoy me is that WP inserts a paragraph tag at beginning of youtube code and a closing tag after. Really screwing up my CSS.
Any fix for this?
http://wordpress.pastebin.com/2uTmkG0j
Thanks,
Karl
Thank you for this plugin. I am using it because I needed a way to show an icon in by feed instead of an embedded player. This allows it to be more apparent that there is a video in my post when something like Facebook aggregates by feed, and does not allow in-line embed, but allows img tags.
I hope you can keep it up to date as wordpress evolves.
Thanks for the tip, that was indeed the problem. I looked at the HTML and WordPress had added links around URL, it's working fine now, great plugin.
@Nigel, it sounds like the video URL is linked.
When you paste in the URL for the video from Youtube, sometimes WordPress links it because it is an actual link, especially if you paste it in before adding the "v" after the http.
If this happens just select the URL and click the "broken link", "or "unlink" icon in the WordPress editing menu. Save the post and preview. Everything should work fine now.
I'm having problems with the plugin on my wordpress 2.9.1 site. My video appears in the post, but when I click on any part of the YouTube video it opens a new tab and re-directs to the YouTube site. Is there any way to stop this from happening?
Поставил Ваш плагин, но он вставляет сам ролик в пост, а миникопию нет. Пробовал несколько раз - результат нулевой (((
У меня в теме реализована вставка видео через код [youtube 12345678901] (в конце можно ставить даже размеры. Отсюда: http://www.daburna.de/dokuwiki/doku.php/instruction). Такой формат позволяет публиковать ролик в сайдбаре без дополнительной вставки кода (как реализовано в виджете Вашего плагина). У Вас в плагине предусмотрено только так [youtube=12345678901] знак равно без пробела. После такой публикации ролик в виджете не отображается. Но в любом случае миникопия не показывается, к сожалению. Что посоветуете?
Hi, I just found a "bug".
When I display the posts, in the index page, with the excerpt function, the plugin break the whole layout (but just in Google Chrome).
Analysing what the error could be, I fount out that the excerpt function hide the content that is not been displayed with , and inside the plugin you placed 4 comments indicating where the plugin place the youtube code. So I just deleted the comments inside the plugin code and everything just worked out.
Not sure if this could be classified as an WordPress bug or a plugin bug. Could you add or do some workaround about this bug?
Thanks!
hello vladimir and thank you very much for sharing this great plugin.
hope to hearing from you soon.
I use version 2.9.2 and it works perfectly. The best way is to try out, before you post :)
hi there .thanks for plugin, Does anybody know if tis script is compatible with WordPress 2.9 ? Thanks in advance for any help on this! Regards
Same here. 3.4.3 didn't work on the iPhone for me. Dropping down to version 3.3 restored iPhone functionality. Both versions did work with the iPad.
Hi Vladimir,
Really nice plugin, thanks.
I realise that the plugin cannot guess which formats are available from the url but is there a way to make it so that we can specify which format we want.
Currently, using httpvh:// will display the highest possible quality. I tried to add &fmt=22 to the end of the url to force the use of the 720p quality but it seems to ignore it and still gives me 1080p when it is available.
Cheers
Greg
Thanks Rupert :) That will help a lot :)
Mozilla/5.0 (iPhone; U; CPU iPhone OS 3_1_3 like Mac OS X; en-us) AppleWebKit/528.18 (KHTML, like Gecko) Version/4.0 Mobile/7E18 Safari/528.16
You must search only "iPhone" when you want to switch :)
My Code:
//check if useragent is a iPhone
$this->getUserAgent = $_SERVER['HTTP_USER_AGENT'];
$this->useragentiPhone = strpos($this->getUserAgent, 'iPhone');
if($this->useragentiPhone == true){
your code
}
Anybody know what the iPhone user agent is so that I can switch the Firefox user agent and see what code is being put out by the plugin?
The solution is verry simple: Disable in the config "Enable privacy-enhanced mode" and the link goes to http://www.youtube.com not to http://www.youtube-nocookie.com and your iPhone Site work great! :)
Ok we are going to find out the iPhone eventually.
Can someone try 3.3 version and copy the code that shows on iPhone and then try latest version and send the code that doesnt work so I can compare the difference.
Hi Vladimir!
The same problem with iPhone compatibility. There is no video on my iPhone. :-( Tried more options, but nothing solves the problem.
Thanks for your work!
Hy Vladimir. Thanks so mutch for your great plugin. I modified your plugin a little bit. Implement preview images and set width and height. Show your plugin on my site. If you want my changes, please write me a email.
Greetings Rupert
Hey Vladimir.
I just tested 3.4.3 on my blog and the videos still aren't playing on my iPhone/iPod Touch. Tried with the privacy options on and off and deleted the cache each time before trying.
Love the plugin BTW - Thanks for your work on it :)
Seems recently most youtube downloaders have stopped working after youtube has disbaled get_video , I found a site which works , I hope you like it : http://www.youtubeto3gp.com/
Ok released 3.4.3 today, fixed privacy option so please uncheck and try ;)
@Gilly: I believe you are right in thinking it's the privacy option. If you have a look at my post about 5 or so below this one, I also mentioned it. ;-)
I just wanted to comment on the issue I was also having iPhone embed problems with 3.4.2, but downgrading to 3.3 fixed it. Thanks so much for this awesome plugin, all of your hard work is greatly appreciated!