Linking to and Embedding YouTube Videos
Linking to a YouTube Video
Another way to share a YouTube video is to pass around a link to that video. You can include video links in your email messages, as well as on your own blog or web page. You can even link to YouTube videos from Facebook and MySpace.
YouTube makes it easy to link to its videos. Every video page has its own URL and includes a snippet of HTML code you can insert to create a link to the page.
To link to a specific YouTube video, follow these steps:
- Go to the page for the video you want to link to.
- A URL box (shown in Figure 9.1) is in the information box to the right of the video. Highlight and copy the HTML code in this box.
Figure 9.1 Copy the URL from the information box into your email message, blog post, or web page.
- Paste that HTML code into your email message, blog post, or body of your web page.
Anyone reading your email, blog, or web page can then click this link and be taken to the video viewing page on the YouTube site.
If you're copying the link into a web page, make sure you surround it with the appropriate HTML link tag. The resulting code should look something like this:
Click <a href="http://www.youtube.com/watch?v=12345">here</a> to view my YouTube video.
Naturally, replace the href link with the URL from the video you're linking to.