Embed videos & playlists - YouTube Help (2024)

You can add a YouTube video or playlist to a website or blog by embedding it.

If you are an educator, get in touch with your Educational Technology platform for info on how to embed YouTube content for your classes.

The YouTube API Terms of Service and Developer Policies apply to all access and use of the YouTube embedded player.

Embed a video or playlist

  1. On a computer, go to the YouTube video or playlist you want to embed.
  2. Click SHARE Embed videos & playlists - YouTube Help (1).
  3. From the list of Share options, click Embed.
  4. From the box that appears, copy the HTML code.
  5. Paste the code into your website HTML.
  6. For network administrators: You will need to add youtube.com to the firewall allowlist.
  7. Important: If your website or app is child-orientedand you embed YouTube content, you must self-designate your site or app using these tools. This self-designation will ensure Google does not serve personalized ads on these sites or apps and some features will be turned off in the embedded player.

Note:Age-restricted videos can’t be watched on most 3rd party websites. These videos will redirect viewers back to YouTube when played.

Manage video embedding options

Turn on privacy-enhanced mode

The Privacy Enhanced Mode of the YouTube embedded player prevents the use of views of embedded YouTube content from influencing the viewer’s browsing experience on YouTube. This means that the view of a video shown in the Privacy Enhanced Mode of the embedded player will not be used to personalize the YouTube browsing experience, either within your Privacy Enhanced Mode embedded player or in the viewer’s subsequent YouTube viewing experience.

If ads are served on a video shown in the Privacy Enhanced Mode of the embedded player, those ads will likewise be non-personalized. In addition, the view of a video shown in the Privacy Enhanced Mode of the embedded player will not be used to personalize advertising shown to the viewer outside of your site or app.

As a reminder, the YouTube API Terms of Service and Developer Policies apply to the access and use of the YouTube embedded player.

To use Privacy Enhanced Mode:

  1. Change the domain for the embed URL in your HTML from https://www.youtube.com to https://www.youtube-nocookie.com.
  2. For network administrators: You will need to add youtube-nocookie.com to the firewall allowlist.
  3. For use in applications, use a WebView instance of the embedded player. Privacy Enhanced Mode is available only for embedded players on websites.
  4. Important: If your website or app is child directed, you must self-designate your site or app using these tools, as required by the YouTube API Terms of Service and Developer Policies, even if you embed YouTube videos with the Privacy Enhanced Mode player.

Example:

Before

<iframe width="1440" height="762"

src="https://www.youtube.com/embed/7cjVj1ZyzyE"

frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>

After

<iframe width="1440" height="762" src="https://www.youtube-nocookie.com/embed/7cjVj1ZyzyE"

frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>

Note:If the viewer clicks or taps out of the embed and is redirected to another website or app, that website or app may track the viewer’s behavior as per that website’s or app’s policies and terms.

Make an embedded video play automatically

To make an embedded video autoplay, add "&autoplay=1" to the video’s embed code right after the video ID (the series of letters that follows "embed/").

Embedded videos that are autoplayed don't increment video views.

Example:

<iframe width="560" height="315"src="https://www.youtube.com/embed/D6Ac5JpCHmI?&autoplay=1"frameborder="0"allowfullscreen></iframe>

Start an embedded video at a certain time

To have a video start playing from a specific point, add“?start=” to a video’s embed code, followed by the time in seconds at which you’d like the video to begin playing.

For example, if you want a video to start at 1 minute and 30 seconds into the video, your embed code would look something like this:

<iframe allowfullscreen="" frameborder="0" height="315" src="http://www.youtube.com/embed/UkWd0azv3fQ?start=90" width="420"></iframe>

Add captions to an embedded video

Make captions automatically appear for an embedded video by adding "&cc_load_policy=1" to the video's embed code.

You can also choose a caption language for the embedded video. To specify the caption language for the video that you'd like to embed, just add "&cc_lang_pref=fr&cc_load_policy=1" to the video's embed code.

  • "cc_lang_pref" sets the language for the captions shown in the video.
  • "cc_load_policy=1" turns captions on by default.
  • "fr" represents the language code for French. You can look up 2-letter language codes in the ISO 639-1 standard.

Turn off embedding for your videos

If you've uploaded a video and don't want to allow others to embed your video on external sites, follow these steps:

  1. Sign in to YouTube Studio.
  2. From the left menu, select Content.
  3. Next to the video you’d like to manage, select Details Embed videos & playlists - YouTube Help (2).
  4. From the bottom, select SHOW MORE.
  5. Uncheck the box next to “Allow embedding” and SAVE.

Was this helpful?

How can we improve it?

Need more help?

Try these next steps:

Post to the help community Get answers from community members
Embed videos & playlists - YouTube Help (2024)
Top Articles
Cialis or Viagra Taken With Chest Pain Drugs May Raise Risk of Early Death
Sildenafil | Invigor Medical
Sprinter Tyrone's Unblocked Games
Design215 Word Pattern Finder
Stretchmark Camouflage Highland Park
4-Hour Private ATV Riding Experience in Adirondacks 2024 on Cool Destinations
Monthly Forecast Accuweather
Maria Dolores Franziska Kolowrat Krakowská
What Are the Best Cal State Schools? | BestColleges
Top Scorers Transfermarkt
Cad Calls Meriden Ct
2022 Apple Trade P36
Acbl Homeport
Kagtwt
Mycarolinas Login
Cincinnati Bearcats roll to 66-13 win over Eastern Kentucky in season-opener
How Many Cc's Is A 96 Cubic Inch Engine
Housework 2 Jab
Wgu Admissions Login
Conan Exiles Colored Crystal
WEB.DE Apps zum mailen auf dem SmartPhone, für Ihren Browser und Computer.
Inter-Tech IM-2 Expander/SAMA IM01 Pro
Ratchet & Clank Future: Tools of Destruction
Rural King Credit Card Minimum Credit Score
Promiseb Discontinued
Winco Employee Handbook 2022
Craigslist Northfield Vt
Chime Ssi Payment 2023
Angel Haynes Dropbox
Black Lion Backpack And Glider Voucher
This Is How We Roll (Remix) - Florida Georgia Line, Jason Derulo, Luke Bryan - NhacCuaTui
Dl.high Stakes Sweeps Download
Otis Inmate Locator
UPC Code Lookup: Free UPC Code Lookup With Major Retailers
A Small Traveling Suitcase Figgerits
Hair Love Salon Bradley Beach
R&J Travel And Tours Calendar
Reborn Rich Ep 12 Eng Sub
Uc Santa Cruz Events
Blackwolf Run Pro Shop
6576771660
Chase Bank Zip Code
22 Golden Rules for Fitness Beginners – Barnes Corner Fitness
Elven Steel Ore Sun Haven
The Many Faces of the Craigslist Killer
Cult Collectibles - True Crime, Cults, and Murderabilia
Dlnet Deltanet
Upcoming Live Online Auctions - Online Hunting Auctions
Guy Ritchie's The Covenant Showtimes Near Look Cinemas Redlands
Concentrix + Webhelp devient Concentrix
Taterz Salad
Latest Posts
Article information

Author: Duane Harber

Last Updated:

Views: 6337

Rating: 4 / 5 (51 voted)

Reviews: 90% of readers found this page helpful

Author information

Name: Duane Harber

Birthday: 1999-10-17

Address: Apt. 404 9899 Magnolia Roads, Port Royceville, ID 78186

Phone: +186911129794335

Job: Human Hospitality Planner

Hobby: Listening to music, Orienteering, Knapping, Dance, Mountain biking, Fishing, Pottery

Introduction: My name is Duane Harber, I am a modern, clever, handsome, fair, agreeable, inexpensive, beautiful person who loves writing and wants to share my knowledge and understanding with you.