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
<object style="height: 390px; width: 640px"> <param name="movie" value="https://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>
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?