How Do I Find The Embed Code For A Youtube Video
Download Article
Download Article
Embedding a YouTube video into a blog or website allows you to share videos freely across the internet. There is no price, and since YouTube handles the video traffic, you don't have to worry about managing your site's bandwidth. This wikiHow teaches you lot how to embed a YouTube video or playlist into your blog postal service or HTML code when you're using a computer.
-
1
Go to https://world wide web.youtube.com on a computer. You'll need to be using YouTube on a computer to get the embed code for your video.[i]
-
2
Go to the video yous want to embed. Search for the video, and so click its name in the search results.
Advertisement
-
3
Make up one's mind where you desire the embedded video to begin. If you desire the video to start playing from the beginning on your website, you tin skip to the next footstep, as that's the default option. But if you lot want the video to start playing at a certain betoken, drag the ruby dot (the playhead) to the desired place in the video and click Pause (if the video isn't already paused). Or, just click the Play button then select Pause one time y'all've reached the right point in the video.
-
4
Click the Share push button. Information technology'due south below the video's bottom-right corner. The button has a curved arrow on it. Options for sharing the video volition expand.
-
five
Click Embed . It'due south the get-go icon under "Share a link" and contains two angled brackets. This displays the embed code for the video.
-
6
Choose your embedding options.
- The video will beginning playing from the showtime past default. If you chose a different starting signal, check the box next to "Starting time at." The right time will appear in the corresponding box.
- To display player controls (such as the power to intermission or skip alee) on the embedded video, cheque the box next to "Bear witness thespian controls."
- Bank check the box next to "Enable privacy-enhanced mode" if you desire to prevent YouTube from tracking your website visitors who don't click the video.
-
7
Click the Re-create link. Information technology's at the bottom-right corner of the window. This copies the embed code to your clipboard.
- The code will await something like this: <iframe width="560" height="315" src="https://www.youtube.com/embed/lj9OgGQ_QkY" frameborder="0" allowfullscreen></iframe>
-
8
Open up up your webpage's HTML editor. HTML is a type of code used to build websites, and the embed code on YouTube is designed to insert into the lawmaking and display the video without any changes. Many blogging websites allow you insert the video directly into the post as well without changing your website's lawmaking.
- Weblog Posts: Brainstorm a new mail. In the toolbar to a higher place the post, click the "HTML" link (or similar). This volition brandish the code of your postal service but will keep your website's code intact.
- Website: Locate the HTML files for your website. You tin can edit them using a text editor such as NotePad or TextEdit on Mac. You tin also edit them using an HTML editor such as Adobe Dreamweaver. When you lot are done editing the HTML files, you will need to upload the files to your server manually or using FTP.
-
ix
Find where you desire your video in the HTML. Since any words your typed will be displayed in the HTML, you can use the text to make up one's mind where in the page your video volition go. For case, if I wrote a mail that says "Check out my new video:" those exact words will appear somewhere in the HTML lawmaking.
-
10
Make space for your video. Once you lot've found where y'all desire the video, click in between the surrounding code and hit the space bar. Almost all lawmaking begins with a "<" and ends with a ">". Exist sure to put your embed lawmaking outside of a pre-existing line of code.
- Wordpress Blog Instance: Check out <b>my video hither:</b> would read as "Cheque out my video here: (EMBEDDED VIDEO)
- You lot tin can create a line interruption after a paragraph or text in HTML by typing <br>
-
xi
Paste the video code where you want the video to go. You can either right-click and choose Paste or press Control + V (PC) or Command + Five (Mac) to paste the embed code.
-
12
Publish your changes. Click Save changes, Publish, or Postal service or something similar to salve your mail service with the embedded code. Look over your post and make sure the video is where you lot want it to be.
- Alternatively, embed videos on social media with the "Share" function. If you only desire to post the video to Facebook, Twitter, Pinterest, or Tumblr, you lot tin simply click on the appropriate icon in the "Share" window below the video. YouTube will prompt you to log into your social media business relationship and automatically embed the video for you.
Advertisement
-
1
Become to https://world wide web.youtube.com on a calculator. You'll need to be using YouTube on a computer to get the embed code for your playlist.
-
two
Click the Library link. It's in the left console.
-
3
Click VIEW FULL PLAYLIST under the playlist you desire to embed. Your playlists are in the "Playlists" section. If you don't see the one you're looking for on the main page, click Come across ALL in this section to open up the total list.
-
four
Open up a text editor. This can be something like Notepad for Windows or TextEdit for macOS.
-
5
Paste the embedding lawmaking template into the text editor. The code is <iframe width="560" height="315" src="https://www.youtube.com/embed/videoseries?list=" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>
- To copy this text, use your mouse cursor to highlight the text yous want to copy, and and so printing Command + C (PC) or Control + C (Mac) to copy. And so, correct-click (or Control + click) in the text editor window and select Paste to paste it.
-
half dozen
Copy the Playlist ID from your browser's accost bar. In the address bar at the acme of your browser, you'll see a URL that looks similar to this: youtube.com/playlist?list=PLrxlAuU-npiXC2clkanh8TKoKfxzym6p9. Yous'll simply need to copy the part that comes after the equal sign, which, in this case, is PLrxlAuU-npiXC2clkanh8TKoKfxzym6p9.
- To re-create this text, use your mouse cursor to highlight the text you want to copy, and then printing Control + C (PC) or Command + C (Mac) to copy.
-
seven
Paste the Playlist ID into the embedding code. The Playlist ID must be pasted later list= at the end of the URL in the embed code. Later on you paste the Playlist ID, the code will look like this: <iframe width="560" height="315" src="https://world wide web.youtube.com/embed/videoseries?listing=PLrxlAuU-npiXC2clkanh8TKoKfxzym6p9" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>
- To do this, click the mouse right between list= and the quote ". Then, press Control + 5 (PC) or Command + V (Mac) to paste it. If any extraneous spaces announced, remove them.
-
8
Copy the embed code to the clipboard. To practise this, highlight everything in the text editor window using your mouse, and printing Control + C (PC) or Command + C (Mac).
-
9
Open your webpage's HTML editor. Many blogging websites let y'all insert the video directly into the post besides without changing your website'due south code.
- Blog Posts: Brainstorm a new post. In the toolbar above the post, click the "HTML" link (or similar). This will display the code of your post but will go along your website'south code intact.
- Website: Locate the HTML files for your website. You tin edit them using a text editor such equally Notepad or TextEdit on Mac, or in an HTML editor like Dreamweaver. When you are washed editing the HTML files, you lot will need to upload the files to your server manually or using FTP.
-
10
Make space for the videos. In one case y'all've plant where you want the video, click in betwixt the surrounding lawmaking and hitting the space bar. Almost all code begins with a "<" and ends with a ">". Be certain to put your embed code outside of a pre-existing line of lawmaking.
- Wordpress Blog Example: Check out <b>my playlist here:</b> would read every bit "Check out my playlist here: (EMBEDDED VIDEO)
- You can create a line intermission afterward a paragraph or text in HTML by typing <br>
-
11
Paste the embed code where the playlist should appear. You can either right-click and choose Paste or press Control + Five (PC) or Command + Five (Mac) to paste the embed code.
-
12
Save and publish your changes. Click Relieve changes, Publish, or Mail or something similar to save your mail with the embedded code. Look over your post and brand sure the playlist is where you want it to be.
Advertisement
Add New Question
-
Question
What do you do if the share button on YouTube doesn't practice annihilation but brand a gray haze?
If you are on the mobile YouTube app, at that place is zero you can practise. However, if you lot are on desktop, you tin can right click on the video and select "Copy embed lawmaking".
Ask a Question
200 characters left
Include your email accost to get a bulletin when this question is answered.
Submit
Advertizing
Video
-
Be sure to re-create all of the lawmaking.
-
Some videos do not allow embedding.
Advert
-
It is illegal to use other people'south music or videos to make a profit without proper acknowledgment of the creator.
Advertisement
Things You'll Need
- A computer with Internet access
- Admission to the HTML or page editor of a website
About This Article
Article Summary X
1. Become to YouTube.
2. Click the video.
3. Click Share.
4. Click Embed.
v. Highlight the embedding lawmaking.
6. Click COPY.
7. Right-click the embedding location.
8. Click Paste.
Did this summary aid you lot?
Thanks to all authors for creating a folio that has been read 116,351 times.
Is this commodity up to date?
Source: https://www.wikihow.com/Embed-a-YouTube-Video
Posted by: mahoneycattess.blogspot.com

0 Response to "How Do I Find The Embed Code For A Youtube Video"
Post a Comment