Play Youtube Video
You can add YouTube videos to your web site by using either the iframe or object HTML tags.
- Click the 'Share' button below the video
- Click the 'Embed' button next to the link they show you
- Copy the iframe code given and paste it into the html of your web page.
Source code
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
</head>
<body>
<form id="form1"
runat="server">
<div>
<object width="640"
height="385">
<iframe width="420" height="315"
src="https://www.youtube.com/embed/KNNqSAMpoZo"
frameborder="0" allowfullscreen></iframe>
</object>
</div>
</form>
</body>
</html>
Output
Thanks for visiting...