Click here to Skip to main content
15,886,026 members
Articles / Desktop Programming / MFC

How to embed a Video in SharePoint?

Rate me:
Please Sign up or sign in to vote.
3.80/5 (3 votes)
14 Sep 2015CPOL2 min read 16.1K   3  
There are several ways a user can add audio or video clips to a SharePoint page when editing the page in browser. Here we are going to discuss the following ways to embed a video to SharePoint. We will follow a step by step approach to achieve the desired output.

There are several ways a user can add audio or video clips to a SharePoint page when editing the page in browser. Here we are going to discuss the following ways to embed a video to SharePoint. We will follow a step by step approach to achieve the desired output.

  1. Add the media web part on the page
  2. Embed a video on the page using embed code

What’s Required:

  • Activate SharePoint Server Publishing Infrastructure feature.
  • Silverlight must be installed.

1. Add the media web part on the page:

  • Open SharePoint site and open page where you want to show video.
  • Edit the page using site action option.
  • Click on “Add a web part” option on the page. It will open add web part property in ribbon bar.
  • Select “Media web part” option in Media and Content section.Media Web Part in SharePoint 2013
  • When the Media Web Part appears on the page, click the text that states “Click here to configure”.Configure Video in SharePoint
  • To configure the Media Web Part to display a specific audio or video file, point to “Change Media” option in ribbon bar, and then select one of the following:
    • From Computer
    • From SharePoint list
    • Embed
    • From Address
  • Click “From Computer” option and select video file and click on ok button.
  • It will play video.Play Video in SharePoint

Note: You can get detailed information about Microsoft Certification Exams related to SharePoint 2013 here.

2. Embed a video on the page using embed code:

If user want to use embed code from a third-party video-sharing website like YouTube’s video to add a video to a page, you can do so by adding the embed code to the Content Editor Web Part.

  • First you have to add Content Editor Web Part on the page.
  • On the Format Text tab of the Editing Tools ribbon, in the Markup group, click HTML, and then click Edit HTML Source option.Content Editor Web Part
  • Then add following code in “HTML Source” editor window and click on OK button.

    <iframe width=”560″ height=”315″ src=”//www.youtube.com/embed/nJjXnTcPg1hc” frameborder=”0″ allowfullscreen></iframe>

    HTML Source

  • It will play your video in the SharePoint site.Playing through Content Editor

These are the 2 simple ways to embed video on a SharePoint page. Hopefully, now the user can easily achieve the desired goal of embedding video by following the above step by step approach.

More related from Microsoft SharePoint For Dummies:

The post How to embed a Video in SharePoint? appeared first on SharePoint For Dummies.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior) Emaratech
United Arab Emirates United Arab Emirates
Imran Abdul Ghani has more than 10 years of experience in designing/developing enterprise level applications. He is Microsoft Certified Solution Developer for .NET(MCSD.NET) since 2005. You can reach his blogging at WCF Tutorials, Web Development, SharePoint for Dummies.

Comments and Discussions

 
-- There are no messages in this forum --