How to Embed a YouTube Video

Today's Best Tech Deals

Picked by TechHive's Editors

Top Deals On Great Products

Picked by Techconnect's Editors

YouTube videos are meant to be shared. But the best way to share them is not by copying and pasting a link, but rather embedding the actual video in your blog, Web page, or the like. That way, your visitors can watch the clip directly without having to click away to YouTube proper.

Embedding a video used to be pretty straightforward, but recently YouTube has made some changes that make the process a bit more confusing. Here's your start-to-finish guide to video embeds:

1. Open the YouTube page containing the video you want to embed.

2. Just below the video window, find and click the Share button.

3. At the bottom of the "Link to this video" box, click Embed.

4. Below that, you'll see a highlighted chunk of text. This is the "embed code," which you'll need to copy and paste into your Web page. You can do so immediately by right-clicking the text and choosing Copy. However, you may want to modify some options first, as described below.

Notice the five checkboxes below the embed code. The one I have to enable most often is Use old embed code, which provides a different chunk of code that's more widely compatible with blog tools. Make sure to enable any of these options you need before copying the embed code.

Also, you can choose from various sizes for your embedded video by clicking any of the gray boxes below the checkboxes. If you need something smaller, use the Custom box. For example, I routinely need my videos to be no larger than 450 pixels wide, so I enter 450 in the Width field. (YouTube automatically calculates the height.)

Contributing Editor Rick Broida writes about business and consumer technology. Ask for help with your PC hassles at, or try the treasure trove of helpful folks in the PC World Community Forums.

This story, "How to Embed a YouTube Video" was originally published by PCWorld.

Note: When you purchase something after clicking links in our articles, we may earn a small commission. Read our affiliate link policy for more details.
Shop Tech Products at Amazon