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 YouTube.com 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
embed youtube in sharepoint

 <object style="height: 390px; width: 640px">
	<param name="movie" value="http://www.youtube.com/v/TE9TpraPlrE?version=3">
	<param name="allowFullScreen" value="true"><param name="allowScriptAccess" value="always">
	<embed src="https://www.youtube.com/v/TE9TpraPlrE?version=3" type="application/x-shockwave-flash" allowfullscreen="true" allowScriptAccess="always" width="640" height="360">
</object>
cwwp

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

source editor

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

play youtube videos in sharepoint 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 is a SharePoint Architect with Two decades of SharePoint Experience. He loves sharing his knowledge and experiences with the SharePoint community, through his real-world articles!

Leave a Reply