How to Embed a Video into a Website

Follow these steps to embed a service-hosted video, like from YouTube, into your website.

Step 1: Locate the Video

First, find the video you want to embed on the video hosting site (e.g., YouTube).

Screenshot showing the location of the video

Step 2: Click the 'Share' Button

Once you've opened the video, look for the 'Share' button below the video.

Screenshot showing the 'Share' button on the video page

Step 3: Copy the Embed Code

Click on the 'Embed' option and copy the code that appears in the box.

Screenshot showing the embed code option

Step 4: Paste the Embed Code into Your HTML

Paste the copied embed code into your HTML file where you'd like the video to appear.

Screenshot showing the embed code being pasted into HTML

Step 5: Save and View Your Page

Save the HTML file and open it in your browser to view the embedded video.

Screenshot showing the embedded video in the browser

Example Video:

Here is the video embedded into the page: