How to embed YouTube video in my web page?

Asked By 0 points N/A Posted on -
qa-featured

I want to embed some video files of youtube to my webpage but I don't know how to do it.Would you guys be kind to explain 

the process of embedding the youtube videos?

SHARE
Answered By 5 points N/A #118154

How to embed YouTube video in my web page?

qa-featured

One way to embed some video files of youtube to your webpage is:

Goto http://www.flite.com and register. Click on Widgets there. Goto Youtube under ‘ Make a Widget’.Enter your youtube username.Click Make widget. Customize Content.You can edit youtube settings to show it as list, brick.Customize Design ‘ look and feel’ section the way you want.You can have your own header style,Theme, color. Edit Gallery details and add description. Click on the videos displayed on the right hand side and play it.Sign into Widgetbox. See your Widgets menu.Click on the Widget you have made.Click on Get Blidget.Click on Get HTML code. Copy the code and add to the HTML code for your website.

 

Answered By 590495 points N/A #310862

How to embed YouTube video in my web page?

qa-featured

If you have a website and you want to share some of the videos on YouTube by embedding them on your page, there are two ways to do it: first, by getting the link of the video and second, by selecting the embed option. First, head down to YouTube and look for the video you want to share or embed.

Once you located a suitable video, click on the “SHARE” button then select “Embed” to get the complete embedding link. You will have something like this:

  • <iframe width=”560″ height=”315″ src=”https://www.youtube.com/embed/r4-IGFNJYyk” frameborder=”0″ allow=”autoplay; encrypted-media” allowfullscreen></iframe>

Now, just add it to your page and it should display a playable video from YouTube. On the other hand, if your website is running on Drupal, this method will not work. To embed the video in Drupal, you need to get the ID of the video. In the example, the ID is without quotes “r4-IGFNJYyk”. This is the code at the end of the URL after “embed/”.

Now, to use this code to embed the video on your page, you need to add it at the end of this URL:

  • https://www.youtube.com/?feature=youtu.be

The resulting link will be:

  • https://youtu.be/r4-IGFNJYyk

Now, to embed the video on your page, you need to use this code:

  • [video:URL]

Replace “URL” with the link of the video. You will have something like this:

  • [video:https://youtu.be/r4-IGFNJYyk]

This should now display a playable video from YouTube for websites running on Drupal.

Related Questions