Applies ToSharePoint in Microsoft 365 Microsoft 365 admin

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.

  • The YouTube web part is not available in SharePoint Server 2019. Additionally, it is not supported in U.S. Government GCC High and DoD or Office 365 operated by 21Vianet.

Add a YouTube video

  1. If you're not in edit mode already, click Edit at the top right of the page. Find the Toolbox (Toolbox icon in content pane) on the right.

  2. Select See all web parts, then select or drag-and-drop YouTube from the list of web parts.

  3. Click Add video.

  4. In the properties pane 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 player controls

  • 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.

Notes: 

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.