Many people would like to know how to add video in your sidebar. If you are one of those people then I will show you how to easily embed a You Tube. This really isn’t that difficult but a lot of people have problems with the code.
What you want to first do is get the code that you will use to embed the video. You can do this by going to the You Tube website. Go to the page of the video and copy the code from the embed form:
The code should look like this:
You need to change both widths to whtever size you can fit in your sidebar. Here’s how to figure out the height:
If you changed the width to 380 then take 380 divided by 480. This equals around 0.7916, but make sure not to round. Then multiply it by 295 which equals 234 (this should be rounded). So now you have your width and height.
Go to your widgets page and add a text widget. Copy and paste the code. Save and your done!
This post is part of my WordPress tutorials. I have already showed how you can use your own logo instead of the default header. There’ll be more tutorials coming up so I hope you enjoy.


{ 6 comments… read them below or add one }
this is great, I like to refer to video and will be uploading some soon, perfect! thanks!
Thanks for the tip brother. Quick question, what state are you located in? I’ve got an opportunity in natural gas if you are in Michigan, Ohio, or Pennsylvania? Let me know if you are interested.
Hm, I think the XML not valid…
It did not work for you?
It’s working. But Justin Tadlock said that the XML isn’t va;id.
Excellent tip my man. I plan to use video in my top sidebar on some blogs.