How to embed a YouTube video into a .html file

Step 1: Choose Your Video

Go to any video website, like Youtuve or Vimeo, and search a video title, song, channel, etc. that you would like to embed into your website. For this example, I chose song "The Schuyler Sisters" from the musical Hamilton.

Step 2: Share and Embed

On YouTube, locate the share button next to the like and dislike buttons and click it. You should then see a new menu pop up with numerous share options. Click "embed".

Step 3: Embed

Once you click "embed", you should come across a page that looks like this:

From there, copy the embed coding shown. You can use Ctrl+C as a shortcut, or highlight the text and right click to copy.

Step 4: To Neocites!

Next, go to Neocites.org with the embed code still copied in your clipboard. Click "Edit Site" and create a new file. You can name it anything; for example: "hamiltonembedvideo.html".

Step 5: Coding Underway

In your neocites text editor, paste the embed coding which you copied from the video you chose on YouTube and click "Save". You can then view your embed video in your new web page!

Step 6: The Finished Product!