How to: Insert Multimedia Files into WSS

This morning marketing department inform me to inform all employees through INTRANET Portal about some competition inside frisian flag. They want to display information in flash format and video in Windows Media format inside sharepoint.

below is the step to display *.flv into sharepoint

Best way that I know of is clicking Site Settings, Edit Page.
Then, click Add Web Part, and add a Content Editor Web Part
In there, click Edit,  Modify Shared Web Part, and then click the “Source Editor” button.
In there put your HTML code that would normally embed the SWF file in a normal webpage. Example being…

   1: <OBJECT classid=“clsid:D27CDB6E-AE6D-11cf-96B8-444553540000″
   2:  codebase=“http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0″ 
   3: WIDTH=“180″ HEIGHT=“180″ id=“logo” ALIGN=“”> 
   4: <PARAM NAME=movie VALUE=“http://yourdomain.com/SiteCollectionDocuments/swf/whoa_logo.swf”> <PARAM NAME=quality VALUE=best> <PARAM NAME=bgcolor VALUE=#FFFFFF> <EMBED src=“http://yourdomain.com/SiteCollectionDocuments/swf/whoa_logo.swf” 
   5: quality=best wmode=opaque bgcolor=#FFFFFF  WIDTH=“180″ HEIGHT=“180″ NAME=“logo” ALIGN=“” TYPE=“application/x-shockwave-flash” PLUGINSPAGE=“http://www.macromedia.com/go/getflashplayer”></EMBED></OBJECT>

now the step to display *.wmv into sharepoint

1. upload video file you would like to play on your web into a document library on your Sharepoint server. Remember its URL for later use
2. add Content Editor web part on the web page where you want to play video
3. click Modify web part and then Source editor
4. paste there this code

   1: <OBJECT id=“VIDEO” width=“320″ height=“240″ 
   2:       style=“position:relative; left:0;top:0;”
   3:       CLASSID=“CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6″
   4:       type=“application/x-oleobject”>
   5:       <PARAM NAME=“URL” VALUE=“/DocumentLibrary/video.mpg”>
   6:       <PARAM NAME=“SendPlayStateChangeEvents” VALUE=“True”>
   7:       <PARAM NAME=“AutoStart” VALUE=“True”>
   8:       <PARAM name=“PlayCount” value=“1″>
   9:       <PARAM name=“uimode” value=“mini”>
  10:       <PARAM name=“enableContextMenu” value=“true”>
  11: </OBJECT>

5. edit parameter URL by specifying your library and video file names (URL from step 1). You could specify full URL like http://DocumentLibrary/video.mpg
6. Save it
7. That’s it

0 Responses to “How to: Insert Multimedia Files into WSS”


  1. No Comments

Leave a Reply