Friday, March 19, 2010

How To Add a YouTube Video to Your Web Site

First locate a video you'd like to add to your page on YouTube, look to the top right (usually in two small form fields) on the page. One form field is labled URL, which is the address of that page itself. The other is labled Embed, and by simply clicking your mouse within that field, all the text in that field is highlighted. You then right mouse click in that field, and select Copy from your browser's drop down that will appear when you right click in the field.
Here's what the embed code for the video above looks like:

Then, open the source code of your web page, and using a tool such as NotetabPro or Expression Web, paste it into your page (either right click again where you want it, and select Paste, or place the mouse cursor where you want it, and hit Control and V on your keyboard at the same time. The embed code will be thusly deposited into your web page. Save the page, upload it to your web server using an FTP client, and view it in your browser!
It works in Firefox, MSIE, Chrome, and just about any new browser out there. Most browsers come preinstalled with Flash, and if not, the visitor will usually be prompted by the browser to download the appropriate software. If you can see the video above, then you can see any video from YouTube. There are other video providers, and most use the same method of letting users embed video.

No comments:

Post a Comment