Posting video on your website or blog

Toronto freelance writer Sharon Crawford asked about putting video on a website or blog.

You can embed videos posted elsewhere on the Internet (or that you have uploaded to your own web space) on any page in your website or blog. You just need to know the right HTML code.

The trick is to use tools that make posting videos easier.

Video handling is one of the many reasons I switched to WordPress for the latest iteration of my website. It allows me to quickly embed YouTube videos onto posts like this.

Wondering how I embed a YouTube video on my WordPress site? Here’s the answer:

  1. Find the YouTube video you want to post.
  2. Copy the url from the address bar. It looks like this:
    Image of a url from a browser's address bar.

    Image of a url from a browser's address bar.

  3. In the WordPress post, paste the url where you want the video to appear.

That’s it! The WordPress post editor automatically handles positioning, sizing and so forth.

Here’s the code WordPress creates around the video:

<object classid=”clsid:d27cdb6e-ae6d-11cf-96b8-444553540000″ width=”425″ height=”350″ codebase=”http://download.macromedia.com/pub/shockwave
/cabs/flash/swflash.cab#version=6,0,40,0″><param name=”src” value=”http://www.youtube.com/v/TMsIljOHnig” /><embed type=”application/x-shockwave-flash” width=”425″ height=”350″ src=”http://www.youtube.com/v/TMsIljOHnig”> </embed></object>

You can see why I recommend people use tools that make posting videos easier, but if you can figure out the code here, you can copy and paste it, then change the link to post your own videos.

Don’t forget to preview your page before you publish it to both try the video and generally check the post.

If you want more options, check out the WordPress support site.

Are you looking for other video posting instructions or tips? Ask in the comments below.

Leave a Reply