

It is important to note that the loop parameter requires that you also use the playlist parameter. The loop parameter accepts the following values:Ġ means you do NOT want the video to loop (default) The loop parameter determines whether or not the YouTube video will automatically replay or not. The auto playparameter accepts the following values:Ġ means you do NOT want the video to auto play(default) The auto playparameter determines whether the video will start automatically or not when a user visits that page. You can use HTML object tag to embed multimedia (like audio, video, Java applets, ActiveX, PDF, and Flash) in your web pages. You can embed youtube video in html without iframe tag. The full source code look like the following:

The next step is to paste the code in your HTML page. Right click in the textfiled and copy the code. When you click "Share" there is another button "Embed" you will get below the share buttonĬlick the "Embed" button and you will see a box just below it fill with code.īy clicking your mouse within the textbox filled with code, all the text in that field is highlighted. Ĭlick the "Share" link under your YouTube video to expose the available sharing options.

Use the youtube site to find the video you want to embedded.
Youtube iframe how to#
How To Add a YouTube Video to Your Web Site - StepsĪll you have to do is to copy and paste the URL of a video from YouTube into your HTML page. The following HTML code shows how to embedded youtube YouTube will host your videos and you can easily embed them into your website.
