Embed a YouTube Video on Your Website
YouTube videos cannot be easily downloaded, however you can embed videos on a website using an iframe tag that links with an isolated YouTube video player.
Steps
- Go to the YouTube video you want to embed
- Click 'Share' under the video
- Click Embed
- Edit some settings
- The check boxes are optional, but the player size should be edited.
- Copy the code inside the big box, with the iframe tag.
- You will also notice another box with an address. This is a shortened version of the address that takes you to the video on YouTube.
- Paste the code on the html code on your website.
- You may want to encase the video player inside a div tag or table if you are not aligning inline with text.
- Test the video player, just in case.
Tips
- The video does not get stored onto your server; it is just linked to YouTube.
- If you go to the link given in the iframe tag, you can see that the video resizes to 100% of your browser window. This allows a flexible way to easily resize the video player.