How to Embed and Integrate YouTube Videos in SharePoint Content Editor Web Part?

It’s a frequently asked question to me, guys asking: “I need to add YouTube videos in my SharePoint site”. In fact, it is very simple to implement. So I’m going to walk-through on how to embed YouTube videos in SharePoint, just using the content editor web part.

1.   Go to and get to the page where your desired video resides. Right-click on the video and choose “copy embed HTML”, it should be something like this

 <object style="height: 390px; width: 640px">
	<param name="movie" value="">
	<param name="allowFullScreen" value="true"><param name="allowScriptAccess" value="always">
	<embed src="" type="application/x-shockwave-flash" allowfullscreen="true" allowScriptAccess="always" width="640" height="360">

3.   Modify the content editor web part and paste the embed HTML code by clicking “Source Editor”

4.   Click Ok, and publish the page. Here is the result:

For SharePoint Online, use this Post to embed YouTube Videos: How to Embed a Video to SharePoint Online Modern Pages?

Salaudeen Rajack

Salaudeen Rajack - Information Technology Expert with Two decades of hands-on experience, specializing in SharePoint, PowerShell, Microsoft 365, and related products. Passionate about sharing the deep technical knowledge and experience to help others, through the real-world articles!

Leave a Reply

Your email address will not be published. Required fields are marked *