embed youtube videosWordPress is one of my favorite blogging platforms and blogdesk is a lean, mean and cool blogging tool. Previously, I had used Windows Live Writer only if my post required a video, but I recently discovered that youtube videos could be embedded in blogdesk, and its quite easy.

This tutorial is divided into two parts: (1) wordpress.com hosted blogs, and (2) self-hosted wordpress blogs

1) WordPress.com hosted blogs: for example, your URL reads something like: http://whothehellareyou.wordpress.com

Inserting a youtube video with Blogdesk isn't as complicated at all. With wordpress and blogdesk, it is very simple and straightforward: put your youtube url as follows: [youtube=URL].

NOTE: IN THE YOUTUBE URLS BELOW, REMOVE THE 'X' IN youtubeX.

I put the X in there on purpose because I installed a youtube plugin that automatically renders a youtube video upon detecting its URL. Thus for me to display youtube.... as text, I have to corrupt the URL. Yes, I cant eat my cake and have it.

 

For example, if the youtube URL is: http://www.youtubeX.com/watch?v=jy5XA4SwuPg then your code should look like this (below):

embed youtube videos-1

The above code will use the entire width and length of your template. Should you want to customize the video's length and width, the following from Wordpress' support forum:

To embed the video with default width and height adapted to your theme:
[youtube=http://www.youtubeX.com/watch?v=JaNH56Vpg-A]

To specify the width and height explicitly:
[youtube=http://www.youtubeX.com/watch?v=JaNH56Vpg-A&w;=320&h;=240]

To specify the width only:
[youtube=http://www.youtubeX.com/watch?v=JaNH56Vpg-A&w;=320]

To hide the related videos from appearing after the video is done:
[youtube=http://www.youtubeX.com/watch?v=JaNH56Vpg-A&rel;=0]

To show the YouTube search box:
[youtube=http://www.youtubeX.com/watch?v=JaNH56Vpg-A&showsearch;=1]

source: http://en.support.wordpress.com/videos/youtube/

2) Self hosted weblogs: sites that have their own .com, .net, etc., for example our other site: http://www.omojesus.com

Log into your wordpress admin section, click Plugins and then Add New.

Search for a Plugin with name: "Youtube brackets"

embed youtube videos-2

Install Youtube Brackets, and holla, begin to use the same brackets style as detailed above.

You have no rights to post comments