Search This Blog

Thursday, May 27, 2010

How to embed video in SharePoint page

Here are the steps, how to add video(media file) on Sharepoint page:

Add a content editor webpart, go to content source & insert following code:
<div align="center"><embed src="test.wmv" loop="false" autoplay="false" width="800" height="640" enablecontextmenu="false"></embed></div>

Other attributes we can set:
AutoRewind="True/False"
SendOpenStateChangeEvents="True/False"
ShowControls="True/False"
ShowTracker="False/True"
showstatusbar="True/False"
enablecontextmenu="false/true"
TransparentAtStart="True/False"
TransparentOnStop="True/False"
showPositionControls="False/True"
windowlessvideo="1"

Note: replace the test.wmv with your relevant video path & modify other attributes as per your requirement.

1 comment: