How To Embed Youtube On A Website

Table of contents:

How To Embed Youtube On A Website
How To Embed Youtube On A Website

Video: How To Embed Youtube On A Website

Video: How To Embed Youtube On A Website
Video: How to Embed YouTube Video in a Website 2024, December
Anonim

Youtube is one of the most popular video services, which has videos for almost every taste in its database. In addition to watching the video, you can also integrate the desired video to your page. To do this, you can use a special generated HTML code on the resource.

How to embed youtube on a website
How to embed youtube on a website

Instructions

Step 1

To insert a specific video into the site, you first need to go to Youtube in order to select the desired video and generate a code for it. Open your browser and go to the service. Find a video using the category browsing or search bar.

Step 2

On the page with the video, click on the "Submit" button. In the toolbar that appears, click the "Embed" button. Additional options for setting the future player on your site will open. So, you can choose the height and width of the player and some parameters for displaying the video in the window. After selecting the desired options, select the text in the text box and right-click on the highlighted area, and then click "Copy".

Step 3

Open the HTML page where you want to insert the player. To do this, right-click on your page file, and then select "Open with". In the list that appears, select any text editing application. You can also use the standard Windows Notepad utility.

Step 4

In the window that appears, you will see the code for your HTML page. Find the section of the file where you want to insert your video. After that, place the cursor at this position and right-click to open the context menu, and then select "Paste". You can also use the keyboard shortcut Ctrl and V to paste code from Youtube.

Step 5

After the operation, save the changes by clicking on the menu item "File" - "Save". Open your saved page in any browser and check if the video is playing correctly. If it is displayed in the program window, then all operations were performed correctly. Installation of video on the site from Youtube is completed.

Recommended: