xxxxxxxxxx
<!DOCTYPE html>
<html>
<head>
<title>Embed YouTube Video</title>
</head>
<body>
<!-- Insert the following code where you want to embed the YouTube video -->
<iframe width="560" height="315" src="https://www.youtube.com/embed/VIDEO_ID" frameborder="0" allowfullscreen></iframe>
</body>
</html>
xxxxxxxxxx
//first go to your video click on share ,and click on embed "<>" and then paste the
the code
<iframe width="560" height="315" src="https://www.youtube.com/embed/yXWw0_UfSFg" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
xxxxxxxxxx
<iframe width="560" height="315" src="https://www.youtube.com/embed/thatthingonvideourl" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
xxxxxxxxxx
<!DOCTYPE html>
<html>
<head>
<title>Embedded YouTube Video</title>
</head>
<body>
<!-- Your video embedded code will go here -->
<iframe width="560" height="315" src="https://www.youtube.com/embed/VIDEO_ID" frameborder="0" allowfullscreen></iframe>
</body>
</html>
xxxxxxxxxx
<!-- Embed YouTube Video using <object> Element
One of the simplest methods to embed a YouTube video
in a web page without IFrame is by embedding the video
using the HTML <object> tag. Simply provide the URL of
the video to the <object> element's data property and
set few other properties like, the width, height,
and you are ready to go.
-->
<!DOCTYPE html>
<html>
<head>
<title>Embed YouTube Video without iFrame</title>
</head>
<body>
<object data='https://www.youtube.com/embed/nfk6sCzRTbM?autoplay=1'
width='560px' height='315px'>
</object>
</body>
</html>
xxxxxxxxxx
<!DOCTYPE html>
<html>
<head>
<title>Embedding YouTube Video</title>
</head>
<body>
<iframe width="560" height="315" src="https://www.youtube.com/embed/VIDEO_ID" frameborder="0" allowfullscreen></iframe>
</body>
</html>