Creating a web page and i would like to add some YouTube videos in it i inserted the correct tags and then inserted the link to the YouTube video but t dose not work with the video i have selected, does anyone know why this is happening and could anyone help. i tried an example from online with a video already selected but when i try change the video it does not appear.
body {
margin: auto;
background-color:
font-family: Arial, Helvetica, sans-serif;
width: auto
}
.topnav a {
float: left;
color: #f2f2f2;
text-align: center;
text-decoration: none;
font-size: 23px;
padding-top: 12px;
padding-right: 16px;
padding-bottom: 10px;
padding-left: 16px;
}
.topnav a:hover {
background-color: #ddd;
color: black;
}
.topnav a.active {
color: white;
}
.topnav {
overflow: hidden;
background-color: #333;
}
html {
background: url(ring.jpg);
background-position: center center;
background-repeat: no-repeat;
background-size: cover;
background-attachment: fixed;
}
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" type="text/css" href="bestknockouts.css">
</head>
<body>
<div class="topnav">
<a class="active" href="website.html"><u>Home</u></a>
<a href="topfighters.html"><u>Top Fighters</u></a>
<a href="bestknockouts.html"><u>Best Knockouts</u></a>
<a href="contactpage.html"><u>Contact Page</u></a>
<a href="https://twitter.com/ItsssOwen">
<img src="twitter%20link.png" width="42" height="32" border="0">
</a>
</div>
<iframe width="420" height="315"
src="https://www.youtube.com/watch?v=bOGaYVijgh0">
</iframe>
</video>
</body>
</html>