How to have a Window Media Player Playing your SharePoint Videos

Are you bored of that Media web part video player playing your videos? Do you need more functions on your media player compared to only Play & Stop button only? Do you need a better view of your videos at Home Pages or other pages of your site?

I have an answer?

  1. Open the page you want Window Media Player to play your videos.
  2. Edit the page
  3. Add a content editor web part
  4. Paste the below JavaScript code to the page
  5. Change the Url, Kindly note it can be any url from you tube or from your own Media libraries
  6. Save the page
  7. Publish it
  8. You’ll have the Window Media Player beautifully playing your video.

Code

  1. <object classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95" width="600" height="400" id="mediaplayer1" title="Window Media Player">  
  2. <param name="FileName" value="http://Test/MyVideo/MyVideo.wmv">  
  3. <param name="AutoStart" value="True">  
  4. <param name="ShowControls" value="True">  
  5. <param name="ShowStatusBar" value="False">  
  6. <param name="ShowDisplay" value="False">  
  7. <param name="AutoRewind" value="True">  
  8. <param name="DisplayBackColor" value="True" />  
  9. <param name="BufferingTime" value="6">  
  10. <embed src="http://Test/MyVideo/MyVideo.wmv" width="600" height="400" autostart="True" type="application/x-mplayer2"  
  11. pluginspage="http://www.microsoft.com/Windows/Downloads/Contents/MediaPlayer/" filename="http://Test/MyVideo/MyVideo.wmv" showcontrols="True" showstatusbar="False" showdisplay="False" autorewind="True" displaybackcolor="True" bufferingtime="6"></embed>  
  12. </object