Youtube video in your website

YouTube will host your videos and you can easily embed them into your website. The following HTML code shows how to embedded youtube

video on your webpage. <!DOCTYPE html> <html> <body> <iframe width="560" height="315" src="https://www.youtube.com/embed/zAlX1V3lK5s"> </iframe> </body> </html>

How To Add a YouTube Video to Your Web Site - Steps

All you have to do is to copy and paste the URL of a video from YouTube into your HTML page.

How to get Youtube URL ?

Use the youtube site to find the video you want to embedded .

Click the "Share" link under your YouTube video to expose the available sharing options.

embed youtube video in html email

When you click "Share" there is another button "Embed" you will get below the share button

Click the "Embed" button and you will see a box just below it fill with code.

embed youtube video in powerpoint

By clicking your mouse within the textbox filled with code, all the text in that field is highlighted. Right click in the textfiled and copy the code.

How to Embed a YouTube Video on Your Websitel

The next step is to paste the code in your HTML page. The full source code look like the following:

<!DOCTYPE html> <html> <body> <iframe width="560" height="315" src="https://www.youtube.com/embed/zAlX1V3lK5s" frameborder="0" allowfullscreen> </iframe> </body> </html>

HTML object tag

You can embed youtube video in html without iframe tag. You can use HTML object tag to embed multimedia (like audio, video, Java applets, ActiveX, PDF, and Flash) in your web pages.

<!DOCTYPE html> <html> <body> <object data="https://www.youtube.com/embed/MW9aHpq829M" width="560" height="315"></object> </body> </html>

Youtube video autoplay

The auto playparameter determines whether the video will start automatically or not when a user visits that page. The auto playparameter accepts the following values:

0 means you do NOT want the video to auto play(default)

1 means you want the video to autoplay

<iframe width="560" height="315" src="https://www.youtube.com/embed/zAlX1V3lK5s?autoplay=1"> </iframe>

Youtube video replay (loop)

The loop parameter determines whether or not the YouTube video will automatically replay or not. The loop parameter accepts the following values:

0 means you do NOT want the video to loop (default)

1 means you want the video to loop

<iframe width="560" height="315" src="https://www.youtube.com/embed/zAlX1V3lK5s?playlist=zAlX1V3lK5s&loop=1"> </iframe>

It is important to note that the loop parameter requires that you also use the playlist parameter. Set the playlist parameter equal to the video ID that you want to loop.

Embed youtube video in html5

NOTE: At present, you can't extract the source of the video without violating YouTube's terms of service. The only supported way to embed a video in a web page is using the iframe embed.

But, there is a way to do this by using MediaElement.js library. The following link shows using a YouTube video with a < video > tag, but also has a fallback to Flash for browsers that don't support it.

http://mediaelementjs.com/examples/?name=youtube

How do I make my embedded YouTube video responsive ?

The following source code make your youtube video responsive.

<!DOCTYPE html> <html> <head> <style type="text/css"> .responsiveRapper { overflow:hidden; padding-bottom:56.25%; padding-top:30px; height:0; position:relative; } .responsiveRapper iframe, .responsiveRapper object, .responsiveRapper embed { top:0; left:0; width:100%; height:100%; position:absolute; } </style> </head> <body> <div class="responsiveRapper"> <iframe width="560" height="315" src="https://www.youtube.com/embed/zAlX1V3lK5s"> </iframe> </div> </body> </html>

Adding YouTube Video to PowerPoint

PowerPoint presentations can be very different depending upon the style of the person creating them. It is very easy for someone to create a YouTube account and upload their own videos. So if you have a video on YouTube that you want to embed into your presentation, then you can follow the simple steps below to learn how. There are a couple of ways you can do it. The easiest method is to simply copy the embed code from the YouTube video and paste it into PowerPoint. The second option is to download the video from YouTube and then insert it as a movie file into PowerPoint.

Use YoutubeEmbed Code

1. Open PowerPoint and click the slide that you want to add a video to.

2. Next step is to switch over to the Insert tab.

How To Embed a YouTube Video into a PowerPoint

3. Then click on Video, and then Online Video

Insert or link to a video on YouTube from a PowerPoint

4. Click inside the search field to the right of the YouTube option, then enter a search term for your video and press Enter on your keyboard.

Manually Embed YouTube Video in PowerPoint

5. Select the video that you want to insert into your presentation, then click the Insert button at the bottom of the window.

How To Put A YouTube Video In PowerPoint

Drag the video to your desired location on the slide. Note that you can resize it by clicking one of the boxes on the perimeter of the video and dragging it accordingly.

Download and Insert

Download your youtube video using any software or any other website .

Do the above steps 1 and 2.

Insert YouTube Videos to Presentations on PowerPoint

Select Video on My PC...

From the Dialog Box... Find your downloaded movie and it will be inserted into the presentation.

Drag the video to your desired location on the slide. Note that you can resize it by clicking one of the boxes on the perimeter of the video and dragging it accordingly.

NEXT.....What Does x86 and x64 Mean