Embedding YouTube:
- E09c - (1:22)
- To embed YouTube video on a web page:
- Find the video you want to show at the YouTube site.
- Click the Share button that is under the video.
- Then click on the Embed button that appears.
- Copy all of the code in the box for the iframe.
- Paste the iframe code in your html in the location where you would like it to appear on your web page.
- NOTE!!! If it does not work, check to see if the url to the video provided by YouTube does not include http:
If not, add it.
- For example, here is code provided by google:
<iframe width="560" height="315" src="//www.youtube.com/embed/7myF5EmK6RI?list=PLcTBPve8QnVe1RQlZH7A68lFQYaJUYJ9I" frameborder="0" allowfullscreen></iframe>
- See the bold for what to add. NOTE: Do not have spaces in the url address.
<iframe width="560" height="315" src="http://www.youtube.com/embed/7myF5EmK6RI?list=PLcTBPve8QnVe1RQlZH7A68lFQYaJUYJ9I" frameborder="0" allowfullscreen></iframe>