Use the YouTube web part

When you add a modern page to a site, you add and customize web parts, which are the building blocks of your page. This article focuses on the YouTube web part, which allows you to embed YouTube videos right on your page.

Notes: 

  • Some functionality is introduced gradually to organizations that have opted in to the Targeted Release program. This means that you may not yet see this feature or it may look different than what is described in the help articles.

  • If you don't see this web part in the web part toolbox, your administrator may have disabled it.

Add a YouTube video

  1. If you're not in edit mode already, click Edit at the top right of the page.

  2. Hover your mouse above or below an existing web part or under the title region, click Circled plus sign used to add a modern web part to a page , and then select the YouTube web part.

  3. Click Add video.

  4. In the toolbox on the right, paste the link or the embed code for the video you want to show in the box under Add a video from YouTube by pasting its link or its embed code below. To find the address or embed code, see Embed videos and playlists on the YouTube site.

    YouTube toolbox
  5. Enter the start time for the video under Start time, and turn on or off the available options.

  6. Enter a start time if you want to start the video at a time other than the beginning.

  7. Turn on or off options for:

    • Show suggested videos at the end

    • Show player controls

    • Show video title

    • Privacy-enhanced mode: When this option is on, YouTube doesn't store information about visitors unless they play the video.

For more information on YouTube embedding and options, see Embed videos and playlists on the YouTube site.

Note: Administrators familiar with SharePoint Online PowerShell can hide this web part from the web part toolbox by using the command Set-SPOTenant [-DisabledWebPartIds <Guid>]. See the PowerShell reference for Set-SPOTenant for more information.

Expand your Office skills
Explore training
Get new features first
Join Office Insiders

Was this information helpful?

Thank you for your feedback!

Thank you for your feedback! It sounds like it might be helpful to connect you to one of our Office support agents.

×