How to Embed a Video into a Website

A Step-by-Step Tutorial with Screenshots

Step 1: Choose a Video on YouTube

Go to YouTube and search for the video you want to embed.

YouTube search screen

Step 2: Click the Share Button

Under the video player, click the Share button.

Share button below video

Step 3: Select Embed Option

In the pop-up window, click on the Embed option.

Embed option in share menu

Step 4: Copy the Embed Code

A box will appear with an iframe code. Click Copy.

Embed iframe code

Step 5: Paste the Code into Your HTML File

Paste the copied iframe code where you want the video to appear on your page.

Pasting iframe in HTML code

Example Embedded Video

Below is the video that was used in the screenshots, now successfully embedded.