Portal HomeClient AreaAnnouncementsKnowledgebaseSupport TicketsDownloads

Knowledgebase
You are here: Portal Home > Knowledgebase > HTML Tips > How To Add a YouTube Video to Your Web Site

How To Add a YouTube Video to Your Web Site

When you 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 browsers drop down that will appear when you right click in the field.

Here's what the embed code for the video looks like:

<object width="425" height="344">
<param name="movie" value="http://www.youtube.com/v/GwQMnpUsj8I&hl=en&fs=1">
</param><param name="allowFullScreen" value="true">
</param><param name="allowscriptaccess" value="always">
</param><embed src=http://www.youtube.com/v/GwQMnpUsj8I&hl=en&fs=1
type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344">
</embed></object>

Then, open the source code of your web page, 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 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.

There are other video providers, and most use the same method of letting users embed video.



Was this answer helpful?

Add to Favourites
Print this Article

Also Read
Using our FREE HTML Editor (Views: 206)

Powered by WHMCompleteSolution


Language: