Dec 09 2007
Before I continue, I should acknowledge two people; one is Bryce, who made me realise that “pretty” formatting was possible, the other is Vlad – who commented a while back that you don’t need a YouTube plugin.
Method One – YouTube Brackets Plugin
I’m not going to lie. This is the easiest, most fool-proof way to add a video clip.
The problem is, that I’ve noticed that they are no longer embedded in the Feedburner feed. This means you have to make it perfectly obvious that you’ve embedded a clip, and people have to click through to watch. If people are motivated enough they will, otherwise you’ve lost that opportunity to share your find.
Method Two – Turn off visual editor and embed code
If you are like me, mostly when you write a blog post you use the “visual editor” (WYSIWYG). I remember the first time I lost the visual editor for no apparent reason I freaked out, because I didn’t realise there was the option to turn it on and off. Somehow it turned itself off, and I wasn’t sure what to do!
You turn the visual editor on and off through the “users” menu option – select “your profile” and you will see there is a check box that will be ticked when you use the visual editor and unchecked when you are not (this looks a little different for WordPress.com blogs, and in any case this method of embedding won’t work in WordPress.com). Remember to update your profile after making any changes.
Your write page will look like this with the visual editor on (some of the icons have floated up in this screen shot):
And this without the visual editor (note the wp-table browser is because of a plugin I have):
What I typically do is:
- write the bulk of the post with the visual editor turned on
- save the post
- turn the visual editor off
- edit the post
- copy the code from the YouTube clip and embed the code in the post
- (preview and) publish the post
- turn the visual editor back on
Making your Video Look Pretty
You’ll notice on every YouTube page there is a “customise/customize” option. If you click on that, you’ll see you have the option of a border. Here is an example:
After you’ve selected your customisation, you copy the embed code and paste it in your post, publish the post, and then turn your visual editor back on.
IMPORTANT NOTE: If you ever need to edit your post in the future, you’ll need to make sure you TURN THE VISUAL EDITOR OFF. If you don’t the post will go all wonky! If you do accidentally do that, simply turn the visual editor off, edit the post, and paste the YouTube embed code back in and save it.
If you’re finding this a little hard to follow there is a four minute video you can watch (just note that the layout of WordPress has changed a little since then) created by Jack Humphrey.
An Amazing Little Girl
This clip was discovered by Mountainmama – Lily knows where Mongolia is. Lilly is not yet two, but her knowledge of geography is probably better than most adults (certainly the woman I mentioned last week)! She also recently appeared on the Rachael Ray Show.
16 Responses to “How to Add a YouTube Video to a WordPress Blog”