100% found this document useful (4 votes)
13K views9 pages

Playing A Windows Media WMV File On A Share Point Site

This is a step-by-step guide on how to play a WMV file on a SharePoint site using the Content Editor Web Part.

Uploaded by

Jennifer
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
100% found this document useful (4 votes)
13K views9 pages

Playing A Windows Media WMV File On A Share Point Site

This is a step-by-step guide on how to play a WMV file on a SharePoint site using the Content Editor Web Part.

Uploaded by

Jennifer
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 9

Playing a Windows Media (WMV)

Video on a SharePoint Site

Jennifer Lewis
Play a WMV File on a SharePoint Site
Page 2

Overview
Sometimes you may want to enhance your SharePoint site with a video. For example, you may
have to put a video of your CEO speaking on your site, or you have to put a training video on your
site. This document will show you how to embed a Windows Media/WMV file on your page.

Requirements
• Correct permissions to edit SharePoint pages (usually Administrator access)
• HTML knowledge

Instructions
1. Go to your SharePoint site.

2. On your SharePoint site, go to the page where you want to add the video. In this
example, I am putting the video on the default (first) page.

3. Select Site Actions – Edit Page

Date Written: 14 March 2009


Play a WMV File on a SharePoint Site
Page 3

4. In the Web Part area where you want the video to play, click Add a Web Part. In this
example, I will be putting the web part on the left hand side.

5. Scroll down to the Miscellaneous section and select Content Editor Web Part.

Date Written: 14 March 2009


Play a WMV File on a SharePoint Site
Page 4

6. Click the Add button

7. Click the open the tool pane link

Date Written: 14 March 2009


Play a WMV File on a SharePoint Site
Page 5

8. Click the Source Editor button

9. Add the HTML that will embed a WMV video on the web page. If you are unsure on how
to do this, see the appendix at the end of this document, which explains the HTML code
for embedding WMV files on pages.

Date Written: 14 March 2009


Play a WMV File on a SharePoint Site
Page 6

You can store the WMV file in a document library on the SharePoint site, or you can
reference a WMV file that is being hosted on another web site.

10. Click the Save button

Date Written: 14 March 2009


Play a WMV File on a SharePoint Site
Page 7

Note: If you set the parameter to play the movie automatically, your movie will play
automatically.

11. Make modifications on how to display the web part, such as changing the title name and
displaying either the title, title and border or hiding the title altogether. In this example, I
will be displaying the title only, and I am going to change the title.

12. Click OK

13. Select Exit Edit Mode

Here are the results:

Date Written: 14 March 2009


Play a WMV File on a SharePoint Site
Page 8

Date Written: 14 March 2009


Play a WMV File on a SharePoint Site
Page 9

Appendix: Embedding WMV video on a Web Page

The HTML code for embedding a WMV video on a Web Page is as follows:

<object id="MediaPlayer" width=320 height=286 classid="CLSID:22D6f312-B0F6-11D0-94AB-


0080C74C7E95" standby="Loading Windows Media Player components…" type="application/x-
oleobject"
codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6
,4,7,1112">

<param name="filename" value="http://yourdomain/yourmovie.wmv">


<param name="Showcontrols" value="True">
<param name="autoStart" value="True">
<param name="ShowStatusBar" value="false">
<PARAM name="ShowDisplay" VALUE="false">

<embed type="application/x-mplayer2" src="http http://yourdomain/yourmovie.wmv "


name="MediaPlayer" width=320 height=240 ShowControls="1" ShowStatusBar="0"
ShowDisplay="0" autostart="1”></embed>

</object>

The parameters:
• Filename – this is the WMV file to embed in the page. The filename must include the
domain in which it resides.
• ShowControls – When this value is set to true (in the param tags) and 1 (in the embed
tag), the controls (play, stop, pause) will display in the video. When this value is set to
false (in the param tags) and 0 (in the embed tag), the controls won’t display.
• autoStart - When this value is set to true (in the param tags) and 1 (in the embed tag),
the video will automatically play when it’s loaded on the page.
• ShowStatusBar – When this value is set to true (in the param tags) and 1 (in the embed
tag), the status bar will appear
• ShowDisplay – When this value is set to true (in the param tags) and 1 (in the embed
tag), the file name will display.

For example: You want to embed video bogus.wmv on domain http://www.bogus.com, and you
want the following to occur: you want the person to be able to pause and rewind the video and
you want the video to start right away. You would use the following code to embed the video on
your page:
<object id="MediaPlayer" width=320 height=286 classid="CLSID:22D6f312-B0F6-11D0-94AB-
0080C74C7E95" standby="Loading Windows Media Player components…" type="application/x-
oleobject"
codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6
,4,7,1112">

<param name="filename" value="http://www.bogus.com/bogus.wmv">


<param name="Showcontrols" value="True">
<param name="autoStart" value="True">
<param name="ShowStatusBar" value="false">
<PARAM name="ShowDisplay" VALUE="false">

<embed type="application/x-mplayer2" src="http http://www.bogus.com/bogus.wmv "


name="MediaPlayer" width=320 height=240 ShowControls="1" ShowStatusBar="0"
ShowDisplay="0" autostart="1”></embed>

To get a more detailed explanation of what this code means, read the article from
MediaCollege.com on embedding WMV files in a web page:
http://www.mediacollege.com/video/format/windows-
media/streaming/embed.html.

Date Written: 14 March 2009

You might also like