How to use YouTube Video in website
Use YouTube videos on the website is a handy feature. It is mainly used in event websites, cosmetics websites; nowadays, it is very trendy. Here in this blog, we will learn how to embed YouTube videos on the website. There are some following steps:
Step 1: Open YouTube.
Step 2: In the Search bar, type the video name, whatever you want to use.
Step 3: Click on the Share icon button, there will pop up box appears:
In the pop-up box, click on the embed option.
Step 4: Click on the Copy button.
Step 5: Paste iframe code in your HTML page section wherever you want to show video.
</head> <body> <iframe width="560" height="315" src="https://www.youtube.com/embed/VPS5gl_EIkI" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
Here in this example, replace the iframe tag with your iframe code.