Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member
If you're working with a SharePoint 2010 site with the publishing feature enabled you can use the Media Web Part to play video and audio. I have a fairly straightforward publishing portal created here. And I have a couple of files out here on my Desktop, a video file and a JPEG, which is just a thumbnail of one of the frames of the video file. First I need to get that into SharePoint. I am going to create a new library in this website. So I am going to go to my More Options menu of my Site Actions and create something called an Asset Library.
An Asset Library is a new kind of library in SharePoint 2010. It really is just a document library, but it's got some attached metadata for working with image, audio, and video files. I'll call this Site Assets, which is a very common name for the Asset Library. I am going to create it and then I want to upload those two files into this library. I could upload them individually but I also have the option to upload multiple files. In which case I can select both of them, drag them over into that window, and click OK to upload them to that library.
Done and because I've done a mass upload even though there is just two, I didn't get the opportunity to add any extra metadata to either of these files. If I select the video file individually, I can then shift to my Documents section of the Ribbon. And look at View Properties, which shows me there really isn't much there. I could have a title and some keywords and some comments. So let me at least give it a title. I am going to edit the item and give it a title, which in this case is Ojai Olive Oil, which is what the video is about, and click Save.
I could also do that for the JPEG for the image itself. I could edit that property. This simply means that I've uploaded these files and they are now available on the SharePoint site, but I am not obviously showing them anywhere. I am going to navigate back to my homepage using my Navigate Up button. And I could put the video on this page or I could create a new page for it. If I go to my Site Actions menu and say New Page, I am doing this as a test so I'll call it Video and click Create.
Because I do have Publishing turned on, this page is considered as being in a draft mode. It's not visible to anybody else until I decide to publish it. But it has shifted into the Edit mode and it's allowing me to type in some content. But if I select the Insert part of the Ribbon I do have an option to insert video and audio. This will just drop in the Silverlight-based Media Web Part that can play either a video or audio. But I haven't told it what to play, so if I select the Web Part itself the Ribbon changes and allows me to change the media, meaning the video that it's playing,and any associated image that I want to see while the video is not playing.
So I'll select Change Media. I'm going to say well, where is it? It could be on my computer right now, in which case this would allow me to upload it at the same time. But I've already uploaded it. It's in SharePoint, so I'll say From SharePoint. Select the Site Assets library that I'd uploaded it to and select that video file, then click OK. Now I know because I did the compression myself that the Horizontal and Vertical Size here is off. So I'm going to change it. My size is actually 512 x 288.
It is trying to lock the Aspect Ratio, so I am going to uncheck that checkbox and just type 288. That gives me more of a widescreen aspect ratio here. Now right now it doesn't have an initial image. So I am going to select the Change Image button this time. From SharePoint. And it's in my Site Assets document library and it's the JPEG image there. Cick OK. Well we now have the Media Web populated. I'm going to hit Save & Close.
Now while this page is considered checked out and editable, I'm seeing this yellow bar. It's basically telling me okay , it has not been approved yet. It's not been published. But I can certainly make sure that this is working. (Music playing.) The Media Web Part does give me the ability to go full screen if I want to. (Music playing.) It is based on the Silverlight so you will need Silverlight on your user's computer to actually look at this.
While I uploaded a WMV file to my SharePoint document library, you could also use an MPEG file, an AVI or an MP3 or WMA file. Now this page is still considered a draft. If I wanted to make it available for everyone to see I'd have to submit this for approval because it is a publishing portal. And all the workflow is imposed upon that. But really that has nothing to do specifically with the Media Web Part, which can just be configured to play the video or audio that you want it to.
Get unlimited access to all courses for just $25/month.Become a member
82 Video lessons · 91147 Viewers
80 Video lessons · 138171 Viewers
59 Video lessons · 56990 Viewers
52 Video lessons · 70629 Viewers
Access exercise files from a button right under the course name.
Search within course videos and transcripts, and jump right to the results.
Remove icons showing you already watched videos if you want to start over.
Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.
Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.