Page 222 - SKU-000506274_TEXT.indd
P. 222
C h a p t e r 1 8 Incorporating YouTube Videos on Your Own Website 201
Linking to an Individual Video
As just mentioned, every video on YouTube has its own unique web address. When
you navigate to a video page, its URL is in the Address box in your web browser.
You could copy the URL from your browser’s address bar, but there’s an easier way
to do it. Go to the video’s page and click the Share button beneath the video. When
the Share panel expands, as shown in Figure 18.1, the URL is displayed. You can
copy the URL as-is, or if you want a shorter URL, check the Short URL option and
then copy that.
Figure 18.1 Generating the URL for a YouTube video.
Tip
By default, YouTube generates the URL for the standard definition version
of a video. If the video is in high definition, you can check the HD URL
box to generate a link to the HD version.
You can then paste the video’s URL into the underlying HTML code for your web
page or blog, surrounded by the appropriate link tag. The resulting code should
look something like this, although on a single line:
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 of the video you’re linking to. When
visitors click the link in the text, they go to that video’s YouTube page.
Tip
To insert a YouTube video link into an email message or blog post, simply
copy the URL from the video page and paste it into the body of the mes-
sage.