Sign in with Microsoft
Sign in or create an account.
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.

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.


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

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


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.

Was this information helpful?

What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!