Sunday, March 15, 2015

How to: Embed YouTube channel videos on SharePoint 2013

Suppose you have a channel on YouTube and you would like to embed all the videos from your channel on your SharePoint portal.

This will not only make the newly uploaded videos on YouTube available on SharePoint automatically but also save you time and your storage in your datacenter ;)

# First, we need to get the playlist URL of your channel. You can get this by clicking on Play All button on YouTube. For demo purposes, I'm using the TEDx NewYork playlist.

https://www.youtube.com/embed?list=PLsRNoUx8w3rPrI5Bd1btJam4kfOCZtcxT

# Get the iFrame embedded code from YouTube by clicking the share button under the video and selecting embed.

# Change the src value in this code with the playlist URL you got above. 

<iframe width="560" height="315" src="https://www.youtube.com/embed?list=PLsRNoUx8w3rPrI5Bd1btJam4kfOCZtcxT" frameborder="0" allowfullscreen></iframe>

# Now open SharePoint and navigate to the page where you want to embed your playlist.
# Click on the gear icon on the right top corner and select Edit Page.
# Click on Add a Web Part and select the Content Editor web part under the Media section.

# From the ribbon select Embed Code and insert the iFrame code we created above.

# You can now see that the iFrame displays the video and you also have the whole play list available on the left top corner of the video.


Let me know if you have tried something different to achieve the same?

No comments:

Post a Comment