How can we help you today?

How to Embed a YouTube Video Playlist to a SharePoint Page

Follow this tutorial to learn how to embed a video playlist from YouTube using ShortPoint's free Code Editor Web Part. Check out the quick walkthrough if you're already familiar with the Code Web Part or go to the step-by-step tutorial for detailed instructions.


sample page with YouTube playlist


TABLE OF CONTENTS


Prerequisite


Quick Walkthrough

1. Go to the YouTube playlist you want to use and copy the PlaylistID in the URL.

2. Copy the code below and replace PlaylistID with the PlaylistID you copied in step 1:


<iframe width="560" height="315" src="https://www.youtube.com/embed/videoseries?list=PlaylistID" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>


3. Go to your SharePoint page and add the ShortPoint Code Web Part.

4. Click the Edit Properties icon of the ShortPoint Code to edit it.

5. Delete all default codes.

6. Paste the copied code in the HTML field, customize it to your needs, and click Save.

7. Click the close icon to leave the ShortPoint Code Editor.

8. Republish the page.


Step-by-step Tutorial

Follow the detailed guide below to learn how to embed your YouTube playlist to your SharePoint page:


Step 1: Copy the Playlist ID

  • Go to the YouTube playlist you want to embed:

YouTube playlist


  • In the address bar, copy everything that comes after &list=. This random series of letters and numbers is your Playlist ID:


playlist id

NOTETake note of the PlaylistID you copied. You will need it for Step 2.

Step 2: Copy the Code

  • Copy the embed code below and replace PlaylistID with the Playlist ID you copied in Step 1:


<iframe width="560" height="315" src="https://www.youtube.com/embed/videoseries?list=PlaylistID" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>


For example, using the Playlist ID we copied earlier, our code will look like the one below:


<iframe width="560" height="315" src="https://www.youtube.com/embed/videoseries?list=PLZLZrhrb0iBm46peqasGpDsf-uc_67zVU" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>

Step 3: Add the ShortPoint Code Web Part

  • Go to the SharePoint page where you want to add the YouTube Playlist and click Edit:

Edit


  • Click the close icon to leave the Toolbox:

close icon


  • Select the plus icon to add a web part:

plus icon


  • Use the search bar to look for ShortPoint Code, or scroll down until you see the Advanced section. Click ShortPoint Code:

ShortPoint Code


Step 4: Edit the ShortPoint Code Web Part

  • Click the Edit Properties icon:

Edit properties icon


Step 5: Delete Default codes

  • Select each field, delete the default codes inside, and click Save:


delete default codes


Step 6: Paste the Code

  • Click the Edit HTML field:

Edit HTML field

  • Paste the code:

paste code

  • Customize the code according to your needs and click Save:


edit code


Step 7: Republish Page

  • Once satisfied, click the close icon to leave the ShortPoint Code window:


close icon

  • Click Republish once you’re ready to make your changes live:

Republish


Congratulations! You have successfully embedded a YouTube playlist on your page. Check out the tutorials below if you want to see more ways you can make the most out of the ShortPoint Code web part:

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.

World's best intranet sites are designed using ShortPoint

Get started today! Learn more
See all 18 topics

Start a trial

Ignite your vision. Install ShortPoint directly on your site, or play in sandbox mode. No credit card required.

Get started today

World’s best intranet sites are designed using ShortPoint

Thousands of companies using ShortPoint everyday to design, brand and build award winning intranet sites.

Get started Learn more