I have had a few emails in the past month about blogs, and one feature that a few people seem to be struggling over is being able to embed a Youtube video within a post. There are a few different blog scripts that you will be using (blogger etc), but one of the main ones and what I use is WordPress. So I will tell you how to set your WordPress blog so that you can easily play any Youtube video on your blog.
Firstly you will need to get the appropriate plugin, just use this one (plugin), or you can also type in Youtube within the WordPress plugin directory (I find the plugin I gave you does the best job). Now just unzip the folder and extract the plugin.
You will now have to upload the plugin to the plugin folder of your wordpress blog (wp-content > plugins).
Now within your WordPress admin go to your plugins area and you will see the plugin you just uploaded there, just click activate and it will automatically be activated on your site. But that doesn’t mean you can just add the Youtube embed code now.
You now have a options area in your admin for the plugin, just go to options > WP YouTube and you will be there. In this options area you can set a bunch of different options for your embedded Youtube clips, this is a really useful tool. But also down the bottom you will notice details on how to add your embedded clip to your blog.
- Grab the last digits after the = in your Youtube url
- http://www.youtube.com/watch?v=MWYi4_COZMU
- Grab – MWYi4_COZMU
- Add these digits to this piece of code
- [ wp_youtube]Add Here[/wp_youtube ]
- So you will get – [ wp_youtube]MWYi4_COZMU[/wp_youtube ]
- NOTE: I have added spaces in the code (I didn’t want a clip embedded here!), so just use that code with no spaces.
Now with this code you simply add it to your post and you will be able to post any Youtube clip in your blog. Check out this post and you can see how I have added my Youtube clips.
I hope this was a little helpful! Talk to you all next time..
Related posts:
